HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulescientific-0.3.9.0Haskell2010

Data.Text.Lazy.Builder.Scientific

Synopsis
  • Packagescientific-0.3.9.0
  • Exports3
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceScientific.hs

A Text Builder which renders a scientific number to full precision, using standard decimal notation for arguments whose absolute value lies between 0.1 and 9,999,999, and scientific notation otherwise.

datadata FPFormat

Control the rendering of floating point numbers.

Constructors

  • Exponent

    Scientific notation (e.g. 2.3e123).

  • Fixed

    Standard decimal notation.

  • Generic

    Use decimal notation for values between 0.1 and 9,999,999, and scientific notation otherwise.

Instances4Bounded, Enum, Read, Show
  • Bounded FPFormatDefined in text-2.1.4 · Data.Text.Lazy.Builder.RealFloat
  • Enum FPFormatDefined in text-2.1.4 · Data.Text.Lazy.Builder.RealFloat
  • Read FPFormatDefined in text-2.1.4 · Data.Text.Lazy.Builder.RealFloat
  • Show FPFormatDefined in text-2.1.4 · Data.Text.Lazy.Builder.RealFloat