aboutsummaryrefslogtreecommitdiff
path: root/core/math/big/common.odin
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2021-07-22 17:21:39 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2021-08-11 20:59:51 +0200
commit78c0877994427d1c215c00a0623ce4d9a0bfb542 (patch)
tree503e5993fe55ff1ba1b56d9966f583fc73e7ee19 /core/math/big/common.odin
parent1d0b37c1d8e3c3b6a88a5e208124e118ebc91f9a (diff)
big: Add `get(a, type)` and `get_float`.
Diffstat (limited to 'core/math/big/common.odin')
-rw-r--r--core/math/big/common.odin7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/math/big/common.odin b/core/math/big/common.odin
index bcbfafaef..c8e219927 100644
--- a/core/math/big/common.odin
+++ b/core/math/big/common.odin
@@ -35,13 +35,6 @@ _DEFAULT_SQR_KARATSUBA_CUTOFF :: 120;
_DEFAULT_MUL_TOOM_CUTOFF :: 350;
_DEFAULT_SQR_TOOM_CUTOFF :: 400;
-/*
- TODO(Jeroen): Decide whether to turn `Sign` into `Flags :: bit_set{Flag; u8}`.
- This would hold the sign and float class, as appropriate, and would allow us
- to set an `Int` to +/- Inf, or NaN.
-
- The operations would need to be updated to propagate these as expected.
-*/
Sign :: enum u8 {
Zero_or_Positive = 0,
Negative = 1,