Skip to content

Commit 25e7c68

Browse files
committed
docs
1 parent 0b24fc4 commit 25e7c68

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/gfloat/round_ndarray.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@ def round_ndarray(
3232
3333
Args:
3434
fi (FormatInfo): Describes the target format
35-
v (float): Input value to be rounded
35+
v (float array): Input values to be rounded
3636
rnd (RoundMode): Rounding mode to use
3737
sat (bool): Saturation flag: if True, round overflowed values to `fi.max`
38+
srbits (int array): Bits to use for stochastic rounding if rnd == Stochastic.
39+
srnumbits (int): How many bits are in srbits. Implies srbits < 2**srnumbits.
40+
3841
np (Module): May be `numpy`, `jax.numpy` or another module cloning numpy
3942
4043
Returns:

0 commit comments

Comments
 (0)