Fixed

For conceptual model usage and type mapping, see:

class pyrogue.Fixed(bitSize, binPoint)[source]

Model class for fixed point signed integers

Parameters:
  • bitSize (int) – Specifies the total number of bits, including the binary point bit width.

  • binPoint (int) – Specifies the bit location of the binary point, where bit zero is the least significant bit.

  • args (Any)

  • kwargs (Any)

Return type:

Any

pytype

alias of float

minValue()[source]

Return the minimum representable signed fixed-point value.

Return type:

float

maxValue()[source]

Return the maximum representable signed fixed-point value.

Return type:

float