17 writes to Bits
Microsoft.ML.Core (17)
Utilities\FloatUtils.cs (17)
67
Bits
= (Bits & ~MaskExp) | (((ulong)(exp + RawExpZero) << CbitMan) & MaskExp);
97
Bits
= 0;
119
Bits
= MaskExp;
128
Bits
= 0;
132
Bits
= man >> (int)(-exp);
139
Bits
= (man & MaskMan) | ((ulong)exp << CbitMan);
144
Bits
|= MaskSign;
149
Bits
= MaskExp; // Overflow to infinity.
151
Bits
= (ulong)exp << CbitMan;
153
Bits
= 0; // Underflow to zero.
155
Bits
= 1UL << exp; // Denormal.
161
Bits
= (Bits & ~MaskExp) | ((ulong)RawExpZero << CbitMan);
173
Bits
&= ~MaskMan;
183
Bits
= (Bits & MaskSign) | man;
199
Bits
&= MaskSign;
204
Bits
&= ~Utils.UuMaskBelow(-exp);
415
sb.
Bits
= bits;
14 references to Bits
Microsoft.ML.Core (14)
Utilities\FloatUtils.cs (14)
40
return ((int)(
Bits
>> CbitMan) & RawExpInf) - RawExpZero;
44
return (int)(
Bits
>> CbitMan) & RawExpInf;
48
return (
Bits
& MaskExp) < MaskExp;
52
var bits =
Bits
& ~MaskSign;
57
var exp =
Bits
& MaskExp;
62
return (
Bits
& MaskExp) == 0;
67
Bits = (
Bits
& ~MaskExp) | (((ulong)(exp + RawExpZero) << CbitMan) & MaskExp);
71
sign = 1 - ((int)(
Bits
>> 62) & 2);
72
man =
Bits
& MaskMan;
133
Contracts.Assert(
Bits
!= 0);
161
Bits = (
Bits
& ~MaskExp) | ((ulong)RawExpZero << CbitMan);
165
if (
Bits
== 0)
180
ulong man =
Bits
& MaskMan;
183
Bits = (
Bits
& MaskSign) | man;