ZVON > References > Haskell reference
| 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

Example 1

Input: significand 12

Output: 0.75

Example 2

Input: significand 1.12

Output: 0.56