17 writes to Bits
Microsoft.ML.Core (17)
Utilities\FloatUtils.cs (17)
259
Bits
= (Bits & ~MaskExp) | (((uint)(exp + RawExpZero) << CbitMan) & MaskExp);
289
Bits
= 0;
311
Bits
= MaskExp;
320
Bits
= 0;
324
Bits
= man >> (int)(-exp);
331
Bits
= (man & MaskMan) | ((uint)exp << CbitMan);
336
Bits
|= MaskSign;
341
Bits
= MaskExp; // Overflow to infinity.
343
Bits
= (uint)exp << CbitMan;
345
Bits
= 0; // Underflow to zero.
347
Bits
= 1U << exp; // Denormal.
353
Bits
= (Bits & ~MaskExp) | ((uint)RawExpZero << CbitMan);
365
Bits
&= ~MaskMan;
375
Bits
= (Bits & MaskSign) | man;
391
Bits
&= MaskSign;
396
Bits
&= ~Utils.UMaskBelow(-exp);
425
sb.
Bits
= bits;
15 references to Bits
Microsoft.ML.Core (15)
Utilities\FloatUtils.cs (15)
232
return ((int)(
Bits
>> CbitMan) & RawExpInf) - RawExpZero;
236
return (int)(
Bits
>> CbitMan) & RawExpInf;
240
return (
Bits
& MaskExp) < MaskExp;
244
var bits =
Bits
& ~MaskSign;
249
var exp =
Bits
& MaskExp;
254
return (
Bits
& MaskExp) == 0;
259
Bits = (
Bits
& ~MaskExp) | (((uint)(exp + RawExpZero) << CbitMan) & MaskExp);
263
sign = 1 - ((int)(
Bits
>> 30) & 2);
264
man =
Bits
& MaskMan;
325
Contracts.Assert(
Bits
!= 0);
353
Bits = (
Bits
& ~MaskExp) | ((uint)RawExpZero << CbitMan);
357
if (
Bits
== 0)
372
uint man =
Bits
& MaskMan;
375
Bits = (
Bits
& MaskSign) | man;
412
return bits.
Bits
;