pymoose.fixed
pymoose.fixed#
- pymoose.fixed(integ, frac)[source]#
Factory function for creating a fixedpoint DType.
- Parameters
integ – Integral precision; number of bits to reserve for the integral part of the number.
frac – Fractional precision; number of bits to reserve for the fractional part of the number.
- Returns
DTypeobject representing a fixedpoint number w/ a particular integral and fractional precision.