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

exponent

exponent(a: number): number

Defined in double-representation/exponent.ts:9

Returns the normalized exponent of the given number.

Parameters:

NameTypeDescription
anumberA double

Returns: number

Previous
« bitLength
Next
getLowestSetBit / getHighestSetBit »

Quick Links

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