aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/BitOps/FloatTraits.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/BitOps/FloatTraits.php')
-rw-r--r--src/BitOps/FloatTraits.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/BitOps/FloatTraits.php b/src/BitOps/FloatTraits.php
index dca9e18..75eebcb 100644
--- a/src/BitOps/FloatTraits.php
+++ b/src/BitOps/FloatTraits.php
@@ -17,6 +17,8 @@ final readonly class FloatTraits
public const int F32_SIGN_SIGNED = 0b10000000_00000000_00000000_00000000;
public const int F32_EXPONENT_NAN = 0b01111111_10000000_00000000_00000000;
+ public const int F32_INFINITY_BITS = 0b01111111_10000000_00000000_00000000;
+
public const int F64_EXPONENT_BITS = 11;
public const int F64_MANTISSA_BITS = 52;