@@ -363,24 +363,17 @@ public static IEnumerable<object[]> SpanDestinationFunctionsToTest()
363
363
yield return Create ( TensorPrimitives . Atanh , T . Atanh ) ;
364
364
yield return Create ( TensorPrimitives . AtanPi , T . AtanPi ) ;
365
365
yield return Create ( TensorPrimitives . Atan , T . Atan ) ;
366
- // TODO https://github.com/dotnet/runtime/issues/98861
367
366
yield return Create ( TensorPrimitives . Cbrt , T . Cbrt , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-13 ) ) ;
368
367
yield return Create ( TensorPrimitives . Ceiling , T . Ceiling ) ;
369
368
yield return Create ( TensorPrimitives . Cos , T . Cos , trigTolerance ) ;
370
- // TODO https://github.com/dotnet/runtime/issues/98861
371
369
yield return Create ( TensorPrimitives . Cosh , T . Cosh , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-14 ) ) ;
372
- // TODO https://github.com/dotnet/runtime/issues/98861
373
370
yield return Create ( TensorPrimitives . CosPi , T . CosPi , trigTolerance ?? Helpers . DetermineTolerance < T > ( floatTolerance : 1e-5f ) ) ;
374
371
yield return Create ( TensorPrimitives . DegreesToRadians , T . DegreesToRadians ) ;
375
372
yield return Create ( TensorPrimitives . Exp , T . Exp ) ;
376
- // TODO https://github.com/dotnet/runtime/issues/98861
377
373
yield return Create ( TensorPrimitives . Exp2 , T . Exp2 , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-14 , floatTolerance : 1e-5f ) ) ;
378
- // TODO https://github.com/dotnet/runtime/issues/98861
379
374
yield return Create ( TensorPrimitives . Exp10 , T . Exp10 , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-13 , floatTolerance : 1e-5f ) ) ;
380
375
yield return Create ( TensorPrimitives . ExpM1 , T . ExpM1 ) ;
381
- // TODO https://github.com/dotnet/runtime/issues/98861
382
376
yield return Create ( TensorPrimitives . Exp2M1 , T . Exp2M1 , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-14 , floatTolerance : 1e-5f ) ) ;
383
- // TODO https://github.com/dotnet/runtime/issues/98861
384
377
yield return Create ( TensorPrimitives . Exp10M1 , T . Exp10M1 , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-13 , floatTolerance : 1e-5f ) ) ;
385
378
yield return Create ( TensorPrimitives . Floor , T . Floor ) ;
386
379
yield return Create ( TensorPrimitives . Log , T . Log ) ;
@@ -396,9 +389,7 @@ public static IEnumerable<object[]> SpanDestinationFunctionsToTest()
396
389
yield return Create ( TensorPrimitives . ReciprocalSqrtEstimate , T . ReciprocalSqrtEstimate , T . CreateTruncating ( Helpers . DefaultToleranceForEstimates ) ) ;
397
390
yield return Create ( TensorPrimitives . Round , T . Round ) ;
398
391
yield return Create ( TensorPrimitives . Sin , T . Sin , trigTolerance ) ;
399
- // TODO https://github.com/dotnet/runtime/issues/98861
400
392
yield return Create ( TensorPrimitives . Sinh , T . Sinh , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-14 ) ) ;
401
- // TODO https://github.com/dotnet/runtime/issues/98861
402
393
yield return Create ( TensorPrimitives . SinPi , T . SinPi , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-13 , floatTolerance : 1e-4f ) ) ;
403
394
yield return Create ( TensorPrimitives . Sqrt , T . Sqrt ) ;
404
395
yield return Create ( TensorPrimitives . Tan , T . Tan , trigTolerance ) ;
@@ -520,8 +511,7 @@ public static IEnumerable<object[]> SpanSpanDestinationFunctionsToTest()
520
511
yield return Create ( TensorPrimitives . Hypot , T . Hypot ) ;
521
512
yield return Create ( TensorPrimitives . Ieee754Remainder , T . Ieee754Remainder ) ;
522
513
yield return Create ( TensorPrimitives . Log , T . Log ) ;
523
- // TODO https://github.com/dotnet/runtime/issues/98861
524
- yield return Create ( TensorPrimitives . Pow , T . Pow , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-13 , floatTolerance : 1e-4f ) ) ;
514
+ yield return Create ( TensorPrimitives . Pow , T . Pow , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-13 , floatTolerance : 1e-5f ) ) ;
525
515
526
516
static object [ ] Create ( SpanSpanDestinationDelegate tensorPrimitivesMethod , Func < T , T , T > expectedMethod , T ? tolerance = null )
527
517
=> new object [ ] { tensorPrimitivesMethod , expectedMethod , tolerance } ;
@@ -650,8 +640,7 @@ public static IEnumerable<object[]> SpanScalarDestinationFunctionsToTest()
650
640
yield return Create ( TensorPrimitives . Atan2Pi , T . Atan2Pi ) ;
651
641
yield return Create ( TensorPrimitives . CopySign , T . CopySign ) ;
652
642
yield return Create ( TensorPrimitives . Ieee754Remainder , T . Ieee754Remainder ) ;
653
- // TODO https://github.com/dotnet/runtime/issues/98861
654
- yield return Create ( TensorPrimitives . Pow , T . Pow , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-13 , floatTolerance : 1e-4f ) ) ;
643
+ yield return Create ( TensorPrimitives . Pow , T . Pow , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-13 , floatTolerance : 1e-5f ) ) ;
655
644
yield return Create ( TensorPrimitives . Log , T . Log ) ;
656
645
yield return Create ( TensorPrimitives . Max , T . Max ) ;
657
646
yield return Create ( TensorPrimitives . MaxMagnitude , T . MaxMagnitude ) ;
@@ -755,8 +744,7 @@ public static IEnumerable<object[]> ScalarSpanFloatDestinationFunctionsToTest()
755
744
{
756
745
yield return Create ( TensorPrimitives . Atan2 , T . Atan2 ) ;
757
746
yield return Create ( TensorPrimitives . Atan2Pi , T . Atan2Pi ) ;
758
- // TODO https://github.com/dotnet/runtime/issues/98861
759
- yield return Create ( TensorPrimitives . Pow , T . Pow , Helpers . DetermineTolerance < T > ( floatTolerance : 1e-4f ) ) ;
747
+ yield return Create ( TensorPrimitives . Pow , T . Pow , Helpers . DetermineTolerance < T > ( floatTolerance : 1e-5f ) ) ;
760
748
yield return Create ( TensorPrimitives . Ieee754Remainder , T . Ieee754Remainder ) ;
761
749
762
750
static object [ ] Create ( ScalarSpanDestinationDelegate tensorPrimitivesMethod , Func < T , T , T > expectedMethod , T ? tolerance = null )
@@ -854,7 +842,6 @@ public void SpanScalarFloatDestination_ThrowsForOverlapppingInputsWithOutputs(Sc
854
842
#region Span,Int,Span -> Destination
855
843
public static IEnumerable < object [ ] > SpanIntDestinationFunctionsToTest ( )
856
844
{
857
- // TODO https://github.com/dotnet/runtime/issues/98861
858
845
yield return Create ( TensorPrimitives . RootN , T . RootN , Helpers . DetermineTolerance < T > ( doubleTolerance : 1e-13 ) ) ;
859
846
yield return Create ( TensorPrimitives . ScaleB , T . ScaleB ) ;
860
847
0 commit comments