Skip to content

Commit 6d5b91b

Browse files
vk2sebzyp
authored andcommitted
fixed.Shape: add min(), max() methods
1 parent 180c1d4 commit 6d5b91b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

text/0041-fixed-point.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ The following operations are defined on it:
4343
- `.const(value)`: Create a `fixed.Const` from `value`.
4444
- `.as_shape()`: Return the underlying `Shape`.
4545
- `.__call__(target)`: Create a `fixed.Value` over `target`.
46+
- `min()`, `max()`: Returns a `fixed.Const` representing the minimum and maximum representable values of a shape.
4647

4748
### `fixed.Value`
4849

0 commit comments

Comments
 (0)