17 writes to Bits
Microsoft.ML.Core (17)
Utilities\FloatUtils.cs (17)
66Bits = (Bits & ~MaskExp) | (((ulong)(exp + RawExpZero) << CbitMan) & MaskExp); 96Bits = 0; 118Bits = MaskExp; 127Bits = 0; 131Bits = man >> (int)(-exp); 138Bits = (man & MaskMan) | ((ulong)exp << CbitMan); 143Bits |= MaskSign; 148Bits = MaskExp; // Overflow to infinity. 150Bits = (ulong)exp << CbitMan; 152Bits = 0; // Underflow to zero. 154Bits = 1UL << exp; // Denormal. 160Bits = (Bits & ~MaskExp) | ((ulong)RawExpZero << CbitMan); 172Bits &= ~MaskMan; 182Bits = (Bits & MaskSign) | man; 198Bits &= MaskSign; 203Bits &= ~Utils.UuMaskBelow(-exp); 418sb.Bits = bits;
15 references to Bits
Microsoft.ML.Core (15)
Utilities\FloatUtils.cs (15)
39return ((int)(Bits >> CbitMan) & RawExpInf) - RawExpZero; 43return (int)(Bits >> CbitMan) & RawExpInf; 47return (Bits & MaskExp) < MaskExp; 51var bits = Bits & ~MaskSign; 56var exp = Bits & MaskExp; 61return (Bits & MaskExp) == 0; 66Bits = (Bits & ~MaskExp) | (((ulong)(exp + RawExpZero) << CbitMan) & MaskExp); 70sign = 1 - ((int)(Bits >> 62) & 2); 71man = Bits & MaskMan; 132Contracts.Assert(Bits != 0); 160Bits = (Bits & ~MaskExp) | ((ulong)RawExpZero << CbitMan); 164if (Bits == 0) 179ulong man = Bits & MaskMan; 182Bits = (Bits & MaskSign) | man; 405return bits.Bits;