# Update ziggurat.zig to use \`random.int\(u64\)\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e073c8a2b1570b24a659ebaeddacf957c15229fa)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e073c8a2b1570b24a659ebaeddacf957c15229fa

Requested commit: e073c8a2b1570b24a659ebaeddacf957c15229fa

Commit: e073c8a2b1570b24a659ebaeddacf957c15229fa

Tree: 9a9dc7e95c15f7b0674b461a76ef40f67ed9adea

Author: Charles Shenton

Committer: Andrew Kelley

## Message

```
Update ziggurat.zig to use `random.int(u64)`

Ziggurat rng was using deprecated `random.scalar(u64)` which was causing compile errors on calls to public facing stdlib APIs (randExp) on 0.6+, this fixed those errors.
```

## Parents

- [6b2274fd994edfd26db49d4a2599bbace881fd7a](https://git.cafe/gitcafe/zig/commit/6b2274fd994edfd26db49d4a2599bbace881fd7a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e073c8a2b1570b24a659ebaeddacf957c15229fa?format=markdown)
