diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-05-06 23:13:12 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-05-06 23:13:12 -0400 |
| commit | 157af4332a7b78672ff8ad76a00120455547e2fd (patch) | |
| tree | 0e75d0d9bb111f8e778587a2fb547b74a17c5aa1 /src/util.cpp | |
| parent | 866c841dd8770bcc12af0aaf946c80819f5e0092 (diff) | |
| download | zig-157af4332a7b78672ff8ad76a00120455547e2fd.tar.gz zig-157af4332a7b78672ff8ad76a00120455547e2fd.zip | |
builtin functions for division and remainder division
* add `@divTrunc` and `@divFloor` functions
* add `@rem` and `@mod` functions
* add compile error for `/` and `%` with signed integers
* add `.bit_count` for float primitive types
closes #217
Diffstat (limited to 'src/util.cpp')
0 files changed, 0 insertions, 0 deletions
