| ZVON > References > Haskell reference |
| Intro / Search / ZVON |
| | Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random |
| Module: | Prelude |
|---|---|
| Function: | significand |
| Type: | RealFloat a => a -> a |
| Class: | RealFloat |
| Description: | The functions significand and exponent together provide the same information as decodeFloat, but rather than an Integer, significand x yields a value of the same type as x, scaled to lie in the open interval (-1,1). exponent 0 is zero. |
| Related: | decodeFloat, encodeFloat, exponent |
Input: significand 12
Output: 0.75
Input: significand 1.12
Output: 0.56