FloatElementaryFunctionsΒΆ
flopak.spad line 36 [edit on github]
undocumented
- exp1: PositiveInteger -> Record(mantissa: Integer, exponent: Integer)
exp1(b)
computes approximation to exp(1) accurate to at leastb
bits.
- exp: (Record(mantissa: Integer, exponent: Integer), PositiveInteger) -> Record(mantissa: Integer, exponent: Integer)
exp(x, b)
computes approximation to exp(x
) accurate to at leastb
bits.
exp_frac: (Integer, Integer, PositiveInteger) -> Record(mantissa: Integer, exponent: Integer)
exp_series: (Record(mantissa: Integer, exponent: Integer), PositiveInteger) -> Record(mantissa: Integer, exponent: Integer)
- log10: PositiveInteger -> Record(mantissa: Integer, exponent: Integer)
log10(b)
computes approximation to log(10) accurate to at leastb
bits.
- log2: PositiveInteger -> Record(mantissa: Integer, exponent: Integer)
log2(b)
computes approximation to log(2) accurate to at leastb
bits.
- log: (Record(mantissa: Integer, exponent: Integer), PositiveInteger) -> Record(mantissa: Integer, exponent: Integer)
log(x, b)
computes approximation to exp(x
) accurate to at leastb
bits.
log_series: (Record(mantissa: Integer, exponent: Integer), PositiveInteger) -> Record(mantissa: Integer, exponent: Integer)
- minus: (Record(mantissa: Integer, exponent: Integer), Record(mantissa: Integer, exponent: Integer), PositiveInteger) -> Record(mantissa: Integer, exponent: Integer)
minus(x, y, b)
computes approximation tox - y
accurate to at leastb
bits.
- plus: (Record(mantissa: Integer, exponent: Integer), Record(mantissa: Integer, exponent: Integer), PositiveInteger) -> Record(mantissa: Integer, exponent: Integer)
plus(x, y, b)
computes approximation tox + y
accurate to at leastb
bits.
- quotient: (Record(mantissa: Integer, exponent: Integer), Record(mantissa: Integer, exponent: Integer), PositiveInteger) -> Record(mantissa: Integer, exponent: Integer)
quotient(x, y, b)
computes approximation tox/y
accurate to at leastb
bits.