| Copyright | (c) Justus Sagemüller 2016 |
|---|---|
| License | GPL v3 |
| Maintainer | (@) jsagemue $ uni-koeln.de |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Text.Show.Number
Description
Documentation
data NumShowComponents n Source
Constructors
| NumShowComponents | |
Fields
| |
Instances
| Show n => Show (NumShowComponents n) Source |
significantDecimals :: forall n. Lens' (NumShowComponents n) [Int] Source
scaledIntPart :: forall n. Lens' (NumShowComponents n) Int Source
scaleExponent :: forall n. Lens' (NumShowComponents n) Int Source
remainder :: forall n n. Lens (NumShowComponents n) (NumShowComponents n) n n Source
isNegative :: forall n. Lens' (NumShowComponents n) Bool Source
errorLtdShow :: RealFloat n => Δ n -> n -> ShowS Source
Arguments
| :: RealFloat n | |
| => Δ n | Uncertainty allowance |
| -> Int | Basis |
| -> Int | Minimum magnitude of exponent to warrant scientific notation |
| -> n | Number to show |
| -> NumShowComponents n |