HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

classclass C a => C a where
#

Transcendental is the type of numbers supporting the elementary transcendental functions. Examples include real numbers, complex numbers, and computable reals represented as a lazy list of rational approximations.

Note the default declaration for a superclass. See the comments below, under "Instance declaractions for superclasses".

The semantics of these operations are rather ill-defined because of branch cuts, etc.

Minimal complete definition: pi, exp, (log or logBase), sin, cos, atan

Methods

Instances13C, …
  • C DoubleDefined in numeric-prelude-0.4.4 · Algebra.Transcendental
  • C FloatDefined in numeric-prelude-0.4.4 · Algebra.Transcendental
  • C TDefined in numeric-prelude-0.4.4 · Number.FixedPoint.Check
  • C TDefined in numeric-prelude-0.4.4 · Number.Positional.Check
  • Floating a => C (T a)Defined in numeric-prelude-0.4.4 · MathObj.Wrapper.Haskell98
  • C a => C (T a)Defined in numeric-prelude-0.4.4 · MathObj.PowerSeries
  • C a => C (T a)Defined in numeric-prelude-0.4.4 · MathObj.Wrapper.NumericPrelude
  • (Ord a, C a) => C (T a)Defined in numeric-prelude-0.4.4 · Number.NonNegative · orphan
  • (C a, Eq a) => C (T a)Defined in numeric-prelude-0.4.4 · Number.PartiallyTranscendental
  • (C a, C a, C a, Power a) => C (T a)Defined in numeric-prelude-0.4.4 · Number.Complex
  • C v => C (T a v)Defined in numeric-prelude-0.4.4 · Number.SI
  • (Ord i, C a) => C (T i a)Defined in numeric-prelude-0.4.4 · Number.Physical
  • (C a, C v, Show v, C a v) => C (T a v)Defined in numeric-prelude-0.4.4 · Number.OccasionallyScalarExpression
value(^?) :: C a => a -> a -> a
#

Transcendental laws, will only hold approximately on floating point numbers

10 declarations

Trigonometric laws, addition theorems

10 declarations