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