swat.cas.table.CASColumn.sas.constant

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

Computes machine and mathematical constants

Parameters
namestring
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

parameterany

Optional parameter for certain constant values.

Returns
CASColumn