diff --git a/ml_dtypes/_finfo.py b/ml_dtypes/_finfo.py index 9f678e0..b83c6e4 100644 --- a/ml_dtypes/_finfo.py +++ b/ml_dtypes/_finfo.py @@ -96,7 +96,7 @@ def __init__(self): class _Float8IEEEMachArLike: def __init__(self, p): - # TODO parametrize + # These are hard-coded in order to independently test against the computed values in the C++ implementation if p == 3: smallest_normal = float.fromhex("0x1p-15") self.smallest_normal = float8_ieee_p3(smallest_normal)