diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-09-01 14:36:15 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-09-01 19:13:47 +0200 |
| commit | fd83cbf40bad98e7d50d75bee2cdf4a5d3d54921 (patch) | |
| tree | 981e80475ca2334062676d97c2d8d1c300c5588e /core/math/big/example.odin | |
| parent | 7d7ed6b95f50ec36e6ed5ad6bded466ca75de26e (diff) | |
big: Add `ilog2`.
Diffstat (limited to 'core/math/big/example.odin')
| -rw-r--r-- | core/math/big/example.odin | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/core/math/big/example.odin b/core/math/big/example.odin index 64ac30424..449a851d1 100644 --- a/core/math/big/example.odin +++ b/core/math/big/example.odin @@ -213,16 +213,6 @@ int_to_byte_little :: proc(v: ^Int) { demo :: proc() { a, b, c, d, e, f, res := &Int{}, &Int{}, &Int{}, &Int{}, &Int{}, &Int{}, &Int{}; defer destroy(a, b, c, d, e, f, res); - - set(a, 42); - set(b, 6); - set(c, 131); - - if err := internal_int_exponent_mod(res, a, b, c); err != nil { - fmt.printf("Error: %v\n", err); - } - - print("res: ", res); } main :: proc() { |