grisette-0.9.0.0: Symbolic evaluation as a library
Copyright(c) Sirui Lu 2024
LicenseBSD-3-Clause (see the LICENSE file)
Maintainersiruilu@cs.washington.edu
StabilityExperimental
PortabilityGHC only
Safe HaskellSafe-Inferred
LanguageHaskell2010

Grisette.Unified.Internal.UnifiedAlgReal

Description

 
Synopsis

Documentation

class UnifiedAlgRealImpl mode (GetAlgReal mode) => UnifiedAlgReal (mode :: EvalModeTag) Source #

Evaluation mode with unified AlgReal type.

Instances

Instances details
UnifiedAlgReal 'Con Source # 
Instance details

Defined in Grisette.Unified.Internal.UnifiedAlgReal

UnifiedAlgReal 'Sym Source # 
Instance details

Defined in Grisette.Unified.Internal.UnifiedAlgReal

type family GetAlgReal mode = real | real -> mode Source #

Get a unified algebraic real type. Resolves to AlgReal in Con mode, and SymAlgReal in Sym mode.

Floating, LogBaseOr and SafeLogBase for SymAlgReal are not provided as they are not available for AlgReal.

Instances

Instances details
type GetAlgReal 'Con Source # 
Instance details

Defined in Grisette.Unified.Internal.UnifiedAlgReal

type GetAlgReal 'Sym Source # 
Instance details

Defined in Grisette.Unified.Internal.UnifiedAlgReal