We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eaba6c commit 09c21a1Copy full SHA for 09c21a1
text/0041-fixed-point.md
@@ -55,6 +55,7 @@ The following operations are defined on it:
55
- `.i_bits`, `.f_bits`, `.signed`: Width and signedness properties.
56
- `.shape()`: Return the `fixed.Shape` this was created from.
57
- `.as_value()`: Return the underlying value.
58
+- `.numerator()`: Return `as_value()` cast to the appropriate signedness.
59
- `.eq(value)`: Assign `value`.
60
- If `value` is a `Value`, it'll be assigned directly to the underlying `Value`.
61
- If `value` is an `int` or `float`, it'll be cast to a `fixed.Const` first.
0 commit comments