Skip to content
FutureBlitz

    Install

    Import std.core.interfaces

    Numeric

    std.core.interfaces

    interface

    Public Interface Numeric

    What arithmetic needs, so generic code like a Sum works on any number.

    std/core/interfaces.fb, line 98

    • Static Method Zero(): Self static method #

      The number that adding leaves alone: 0.

    • Static Method One(): Self static method #

      The number that multiplying leaves alone: 1.

    • Operator +(a: Self, b: Self): Self operator #

      a and b added up.

    • Operator -(a: Self, b: Self): Self operator #

      b taken away from a.

    • Operator *(a: Self, b: Self): Self operator #

      a and b multiplied together.

    • Operator /(a: Self, b: Self): Self operator #

      a divided by b.

    Report an issue with this page or with FutureBlitz on GitHub.