1 write to f
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Number.DiyFp.cs (1)
51
this.
f
= f;
41 references to f
System.Private.CoreLib (41)
src\libraries\System.Private.CoreLib\src\System\Number.DiyFp.cs (16)
63
uint a = (uint)(
f
>> 32);
64
uint b = (uint)(
f
);
66
uint c = (uint)(other.
f
>> 32);
67
uint d = (uint)(other.
f
);
92
Debug.Assert(
f
!= 0);
93
int lzcnt = BitOperations.LeadingZeroCount(
f
);
94
return new DiyFp(
f
<< lzcnt, e - lzcnt);
103
Debug.Assert(
f
>= other.
f
);
104
return new DiyFp(
f
- other.
f
, e);
109
mPlus = new DiyFp((
f
<< 1) + 1, e - 1).Normalize();
122
if (
f
== (1UL << implicitBitIndex))
124
mMinus = new DiyFp((
f
<< 2) - 1, e - 2);
128
mMinus = new DiyFp((
f
<< 1) - 1, e - 1);
131
mMinus = new DiyFp(mMinus.
f
<< (mMinus.e - mPlus.e), mPlus.e);
src\libraries\System.Private.CoreLib\src\System\Number.Grisu3.cs (25)
530
uint integrals = (uint)(w.
f
>> -one.e);
533
ulong fractionals = w.
f
& (one.
f
- 1);
599
Debug.Assert(fractionals < one.
f
);
600
Debug.Assert((ulong.MaxValue / 10) >= one.
f
);
617
fractionals &= (one.
f
- 1);
632
tenKappa: one.
f
,
687
Debug.Assert((low.
f
+ 1) <= (high.
f
- 1));
705
var tooLow = new DiyFp(low.
f
- unit, low.e);
706
var tooHigh = new DiyFp(high.
f
+ unit, high.e);
724
uint integrals = (uint)(tooHigh.
f
>> -one.e);
727
ulong fractionals = tooHigh.
f
& (one.
f
- 1);
755
if (rest < unsafeInterval.
f
)
763
tooHigh.Subtract(w).
f
,
764
unsafeInterval.
f
,
781
Debug.Assert(fractionals < one.
f
);
782
Debug.Assert((ulong.MaxValue / 10) >= one.
f
);
789
unsafeInterval = new DiyFp(unsafeInterval.
f
* 10, unsafeInterval.e);
800
fractionals &= (one.
f
- 1);
802
if (fractionals < unsafeInterval.
f
)
807
tooHigh.Subtract(w).
f
* unit,
808
unsafeInterval.
f
,
810
tenKappa: one.
f
,