Variable constantsConst

constants: { PI_HALF_HIGH: number; PI_HALF_LOW: number; PI_HIGH: number; PI_LOW: number; PI_TWICE_HIGH: number; PI_TWICE_LOW: number; get E(): Interval; get EMPTY(): Interval; get ONE(): Interval; get PI(): Interval; get PI_HALF(): Interval; get PI_TWICE(): Interval; get WHOLE(): Interval; get ZERO(): Interval } = ...

Mixin

constants

Type declaration

  • PI_HALF_HIGH: number
  • PI_HALF_LOW: number
  • PI_HIGH: number

    Next IEEE floating point value of PI, 3.1415926535897936

    Memberof

    constants

  • PI_LOW: number

    Previous IEEE floating point value of PI (equal to Math.PI) 3.141592653589793

    Memberof

    constants

  • PI_TWICE_HIGH: number
  • PI_TWICE_LOW: number
  • get E(): Interval

    An interval that represents PI, NOTE: calls to Interval.PI always return a new interval representing PI

    Memberof

    constants

    Static

    Example

    Interval.E
    

    Name

    E

  • get EMPTY(): Interval

    An interval that represents no values NOTE: calls to Interval.EMPTY always return a new interval representing no values

    Memberof

    constants

    Static

    Example

    // Interval.EMPTY is equivalent to
    Interval().setEmpty()

    Name

    EMPTY

  • get ONE(): Interval

    An interval that represents 1, NOTE: calls to Interval.ONE always return a new interval representing 1

    Memberof

    constants

    Static

    Example

    // Interval.ONE is equivalent to
    Interval(1)

    Name

    ONE

  • get PI(): Interval

    An interval that represents Euler's constant e, NOTE: calls to Interval.E always return a new interval representing PI

    Memberof

    constants

    Static

    Example

    Interval(Interval.PI_LOW, Interval.PI_HIGH)
    

    Name

    PI

  • get PI_HALF(): Interval

    An interval that represents PI / 2, NOTE: calls to Interval.PI_HALF always return a new interval representing PI / 2

    Memberof

    constants

    Static

    Example

    Interval(Interval.PI_LOW / 2, Interval.PI_HIGH / 2)
    

    Name

    PI_HALF

  • get PI_TWICE(): Interval

    An interval that represents PI * 2 NOTE: calls to Interval.PI_TWICE always return a new interval representing PI * 2

    Memberof

    constants

    Static

    Example

    Interval(Interval.PI_LOW * 2, Interval.PI_HIGH * 2)
    

    Name

    PI_TWICE

  • get WHOLE(): Interval

    An interval that represents all the real values NOTE: calls to Interval.WHOLE always return a new interval representing all the real values

    Memberof

    constants

    Static

    Example

    // Interval.WHOLE is equivalent to
    Interval().setWhole()

    Name

    WHOLE

  • get ZERO(): Interval

    An interval that represents 0, NOTE: calls to Interval.ZERO always return a new interval representing 0

    Memberof

    constants

    Static

    Example

    // Interval.ZERO is equivalent to
    Interval(0)

    Name

    ZERO

Generated using TypeDoc