Skip to content

NumberValue

relationalai.semantics.std
NumberValue = Union[Variable, float, int, PyDecimal]

A type representing a number value, which can be a literal float, int, or Decimal, or a Variable resulting from some other expression which will evaluate to a number.

 semantics > std
├──  decimals
│   └──  decimal
├──  math
│   ├──  abs
│   ├──  acos
│   ├──  acosh
│   ├──  acot
│   ├──  asin
│   ├──  asinh
│   ├──  atan
│   ├──  atanh
│   ├──  cbrt
│   ├──  ceil
│   ├──  clip
│   ├──  cos
│   ├──  cosh
│   ├──  cot
│   ├──  degrees
│   ├──  erf
│   ├──  erfinv
│   ├──  exp
│   ├──  factorial
│   ├──  floor
│   ├──  haversine
│   ├──  isclose
│   ├──  log
│   ├──  log10
│   ├──  log2
│   ├──  maximum
│   ├──  minimum
│   ├──  natural_log
│   ├──  pow
│   ├──  radians
│   ├──  sign
│   ├──  sin
│   ├──  sinh
│   ├──  sqrt
│   ├──  tan
│   ├──  tanh
│   └──  trunc_divide
├──  numbers
│   ├──  integer
│   └──  number
└──  strings
    └──  string