Skip to content

Commit

Permalink
Update versioned_docs/version-1.0/language/built-in-functions.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Bastian Müller <[email protected]>
  • Loading branch information
tarakby and turbolent authored Dec 23, 2023
1 parent b12798a commit 08bf240
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions versioned_docs/version-1.0/language/built-in-functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ view fun revertibleRandom<T: FixedSizeUnsignedInteger>(modulo: T): T
```
Returns a pseudo-random integer.

`T` can be any fixed-size unsigned integer type
(`UInt8`, `UInt16`, `UInt128`, `UInt256`, `Word8`, `Word16`, `Word32`, `Word64`).
`T` can be any fixed-size unsigned integer type (`FixedSizeUnsignedInteger`, i.e.
(`UInt8`, `UInt16`, `UInt32`, `UInt64`, `UInt128`, `UInt256`,
`Word8`, `Word16`, `Word32`, `Word64`, `Word128`, `Word256`).

The modulo argument is optional.
If provided, the returned integer is between `0` and `modulo -1`.
Expand Down

0 comments on commit 08bf240

Please sign in to comment.