swat.cas.table.CASColumn.sas.constant

CASColumn.sas.constant(name, parameter=None)

Computes machine and mathematical constants

Parameters:
name : string
Name of the constant value to return. The possible names are:
  • e : the natural base
  • euler : Euler constant
  • pi : Pi
  • exactint : exact integer
  • big : largest double-precision number
  • logbig : log with respect to to base of big
  • sqrtbig : square root of big
  • small : smallest double-precision number
  • logsmall : log with respect to base of small
  • sqrtsmall : square root of small
  • maceps : machine precision constant
  • logmaceps : log with respect to base of maceps
  • sqrtmaceps : square root of maceps
parameter : any

Optional parameter for certain constant values.

Returns:
CASColumn