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

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

Trigonometric laws, addition theorems