File tree 2 files changed +4
-4
lines changed
src/libraries/System.Private.CoreLib/src/System
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1198,7 +1198,7 @@ public static double MinMagnitude(double x, double y)
1198
1198
[ Intrinsic ]
1199
1199
public static double ReciprocalEstimate ( double d )
1200
1200
{
1201
- #if MONO
1201
+ #if MONO || TARGET_RISCV64 || TARGET_LOONGARCH64
1202
1202
return 1.0 / d ;
1203
1203
#else
1204
1204
return ReciprocalEstimate ( d ) ;
@@ -1215,7 +1215,7 @@ public static double ReciprocalEstimate(double d)
1215
1215
[ Intrinsic ]
1216
1216
public static double ReciprocalSqrtEstimate ( double d )
1217
1217
{
1218
- #if MONO
1218
+ #if MONO || TARGET_RISCV64 || TARGET_LOONGARCH64
1219
1219
return 1.0 / Sqrt ( d ) ;
1220
1220
#else
1221
1221
return ReciprocalSqrtEstimate ( d ) ;
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ public static float MinMagnitude(float x, float y)
316
316
[ Intrinsic ]
317
317
public static float ReciprocalEstimate ( float x )
318
318
{
319
- #if MONO
319
+ #if MONO || TARGET_RISCV64 || TARGET_LOONGARCH64
320
320
return 1.0f / x ;
321
321
#else
322
322
return ReciprocalEstimate ( x ) ;
@@ -334,7 +334,7 @@ public static float ReciprocalEstimate(float x)
334
334
[ Intrinsic ]
335
335
public static float ReciprocalSqrtEstimate ( float x )
336
336
{
337
- #if MONO
337
+ #if MONO || TARGET_RISCV64 || TARGET_LOONGARCH64
338
338
return 1.0f / Sqrt ( x ) ;
339
339
#else
340
340
return ReciprocalSqrtEstimate ( x ) ;
You can’t perform that action at this time.
0 commit comments