Class Z3Error

Used to create a Real constant

const x = from({ numerator: 1, denominator: 3 })

x
// 1/3
isReal(x)
// true
isRealVal(x)
// true
x.asNumber()
// 0.3333333333333333

Hierarchy (View Summary)

Constructors

  • Parameters

    • Optionalmessage: string

    Returns Z3Error

Properties

message: string
name: string
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void