grisette-0.11.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.Internal.Unified.UnifiedAlgReal

Description

 
Synopsis

Documentation

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

Evaluation mode with unified AlgReal type.

Instances

Instances details
UnifiedAlgReal 'C Source # 
Instance details

Defined in Grisette.Internal.Unified.UnifiedAlgReal

UnifiedAlgReal 'S Source # 
Instance details

Defined in Grisette.Internal.Unified.UnifiedAlgReal

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

Get a unified algebraic real type. Resolves to AlgReal in C mode, and SymAlgReal in S mode.

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

Instances

Instances details
type GetAlgReal 'C Source # 
Instance details

Defined in Grisette.Internal.Unified.UnifiedAlgReal

type GetAlgReal 'S Source # 
Instance details

Defined in Grisette.Internal.Unified.UnifiedAlgReal