@@ -324,20 +324,6 @@ struct pow_helper<FloatingPoint NBL_PARTIAL_REQ_BOT(concepts::FloatingPointScala
324
324
}
325
325
};
326
326
327
- template<typename Float64>
328
- NBL_PARTIAL_REQ_TOP (is_same<Float64, float64_t>::value)
329
- struct pow_helper<Float64 NBL_PARTIAL_REQ_BOT (is_same<Float64, float64_t>::value) >
330
- {
331
- static Float64 __call (NBL_CONST_REF_ARG (Float64) x, NBL_CONST_REF_ARG (Float64) y)
332
- {
333
- #ifdef __HLSL_VERSION
334
- return pow (x, y);
335
- #else
336
- return std::pow (x, y);
337
- #endif
338
- }
339
- };
340
-
341
327
template<typename V>
342
328
NBL_PARTIAL_REQ_TOP (concepts::Vectorial<V>)
343
329
struct pow_helper<V NBL_PARTIAL_REQ_BOT (concepts::Vectorial<V>) >
@@ -375,20 +361,6 @@ struct exp_helper<FloatingPoint NBL_PARTIAL_REQ_BOT(concepts::FloatingPointScala
375
361
}
376
362
};
377
363
378
- template<typename Float64>
379
- NBL_PARTIAL_REQ_TOP (is_same<Float64, float64_t>::value)
380
- struct exp_helper<Float64 NBL_PARTIAL_REQ_BOT (is_same<Float64, float64_t>::value) >
381
- {
382
- static Float64 __call (NBL_CONST_REF_ARG (Float64) x)
383
- {
384
- #ifdef __HLSL_VERSION
385
- return exp (x);
386
- #else
387
- return std::exp (x);
388
- #endif
389
- }
390
- };
391
-
392
364
template<typename V>
393
365
NBL_PARTIAL_REQ_TOP (concepts::Vectorial<V>)
394
366
struct exp_helper<V NBL_PARTIAL_REQ_BOT (concepts::Vectorial<V>) >
@@ -426,20 +398,6 @@ struct exp2_helper<FloatingPoint NBL_PARTIAL_REQ_BOT(concepts::FloatingPointScal
426
398
}
427
399
};
428
400
429
- template<typename Float64>
430
- NBL_PARTIAL_REQ_TOP (is_same<Float64, float64_t>::value)
431
- struct exp2_helper<Float64 NBL_PARTIAL_REQ_BOT (is_same<Float64, float64_t>::value) >
432
- {
433
- static Float64 __call (NBL_CONST_REF_ARG (Float64) x)
434
- {
435
- #ifdef __HLSL_VERSION
436
- return exp2 (x);
437
- #else
438
- return std::exp2 (x);
439
- #endif
440
- }
441
- };
442
-
443
401
template<typename Integral>
444
402
NBL_PARTIAL_REQ_TOP (hlsl::is_integral_v<Integral> && hlsl::is_scalar_v<Integral>)
445
403
struct exp2_helper<Integral NBL_PARTIAL_REQ_BOT (hlsl::is_integral_v<Integral> && hlsl::is_scalar_v<Integral>) >
@@ -487,20 +445,6 @@ struct log_helper<FloatingPoint NBL_PARTIAL_REQ_BOT(concepts::FloatingPointScala
487
445
}
488
446
};
489
447
490
- template<typename Float64>
491
- NBL_PARTIAL_REQ_TOP (is_same<Float64, float64_t>::value)
492
- struct log_helper<Float64 NBL_PARTIAL_REQ_BOT (is_same<Float64, float64_t>::value) >
493
- {
494
- static Float64 __call (NBL_CONST_REF_ARG (Float64) x)
495
- {
496
- #ifdef __HLSL_VERSION
497
- return log (x);
498
- #else
499
- return std::log (x);
500
- #endif
501
- }
502
- };
503
-
504
448
template<typename V>
505
449
NBL_PARTIAL_REQ_TOP (concepts::Vectorial<V>)
506
450
struct log_helper<V NBL_PARTIAL_REQ_BOT (concepts::Vectorial<V>) >
@@ -626,20 +570,6 @@ struct sin_helper<FloatingPoint NBL_PARTIAL_REQ_BOT(concepts::FloatingPointScala
626
570
}
627
571
};
628
572
629
- template<typename Float64>
630
- NBL_PARTIAL_REQ_TOP (is_same<Float64, float64_t>::value)
631
- struct sin_helper<Float64 NBL_PARTIAL_REQ_BOT (is_same<Float64, float64_t>::value) >
632
- {
633
- static Float64 __call (NBL_CONST_REF_ARG (Float64) x)
634
- {
635
- #ifdef __HLSL_VERSION
636
- return sin (x);
637
- #else
638
- return std::sin (x);
639
- #endif
640
- }
641
- };
642
-
643
573
template<typename V>
644
574
NBL_PARTIAL_REQ_TOP (concepts::Vectorial<V>)
645
575
struct sin_helper<V NBL_PARTIAL_REQ_BOT (concepts::Vectorial<V>) >
@@ -677,20 +607,6 @@ struct cos_helper<FloatingPoint NBL_PARTIAL_REQ_BOT(concepts::FloatingPointScala
677
607
}
678
608
};
679
609
680
- template<typename Float64>
681
- NBL_PARTIAL_REQ_TOP (is_same<Float64, float64_t>::value)
682
- struct cos_helper<Float64 NBL_PARTIAL_REQ_BOT (is_same<Float64, float64_t>::value) >
683
- {
684
- static Float64 __call (NBL_CONST_REF_ARG (Float64) x)
685
- {
686
- #ifdef __HLSL_VERSION
687
- return cos (x);
688
- #else
689
- return std::cos (x);
690
- #endif
691
- }
692
- };
693
-
694
610
template<typename V>
695
611
NBL_PARTIAL_REQ_TOP (concepts::Vectorial<V>)
696
612
struct cos_helper<V NBL_PARTIAL_REQ_BOT (concepts::Vectorial<V>) >
@@ -728,20 +644,6 @@ struct acos_helper<FloatingPoint NBL_PARTIAL_REQ_BOT(concepts::FloatingPointScal
728
644
}
729
645
};
730
646
731
- template<typename Float64>
732
- NBL_PARTIAL_REQ_TOP (is_same<Float64, float64_t>::value)
733
- struct acos_helper<Float64 NBL_PARTIAL_REQ_BOT (is_same<Float64, float64_t>::value) >
734
- {
735
- static Float64 __call (NBL_CONST_REF_ARG (Float64) x)
736
- {
737
- #ifdef __HLSL_VERSION
738
- return acos (x);
739
- #else
740
- return std::acos (x);
741
- #endif
742
- }
743
- };
744
-
745
647
template<typename V>
746
648
NBL_PARTIAL_REQ_TOP (concepts::Vectorial<V>)
747
649
struct acos_helper<V NBL_PARTIAL_REQ_BOT (concepts::Vectorial<V>) >
0 commit comments