Menu
Double-double LogoDouble-doubleDocs
GitHub
Double-double LogoDouble-double
  • Docs
  • GitHub
  • Introduction
    • Getting started
  • Functions
    • Basic
      • fastTwoDiff
      • fastTwoSum
      • reduceSignificand
      • split
      • twoDiff
      • twoProduct
      • twoSquare
      • twoSum
    • Unary
      • ddAbs
      • ddDivBy2
      • ddMultBy2
      • ddMultBy4
      • ddMultByNeg2
      • ddMultByNeg4
      • ddNegativeOf
      • ddSign
      • ddSqrt
    • Binary
      • ddAddDd
      • ddCompare
      • ddDiffDd
      • ddDivDd
      • ddMax
      • ddMin
      • ddMultDd
    • Arity > 2
      • ddProduct
      • ddSum
    • Mixed precision
      • ddAddDouble
      • ddDivDouble
      • ddMultDouble
      • doubleDivDouble
      • doubleSqrt
    • With error propagation
      • ddDivDdWithError
      • divWithErr
      • sqrtWithErr
    • TRepresentation
      • bitLength
      • exponent
      • getLowestSetBit / getHighestSetBit
      • isBitAligned
      • lsbExponent
      • msbExponent
      • parseDouble
      • significand

lsbExponent

lsbExponent(a: number): number

Defined in double-representation/lsb-exponent.ts:12

Returns the true exponent of the lsb that is set of the given number or NaN if a === 0 or +-inf or NaN.

Parameters:

NameTypeDescription
anumberAn array of numbers to check

Returns: number

Previous
« isBitAligned
Next
msbExponent »

Quick Links

  • Docs
  • GitHub
Copyright © 2020 - Built with Docusaurus.