Class Adder

Constructors

Methods

Constructors

  • Creates a full precision adder for IEEE 754 floating point numbers, setting its initial value to 0.

    Returns Adder

Methods

  • Adds the specified number to the adder’s current value and returns the adder.

    Parameters

    • number: number

    Returns Adder

  • Returns the IEEE 754 double precision representation of the adder’s current value. Most useful as the short-hand notation +adder.

    Returns number