| 92 | //! ERFC: complementary error function |
| 93 | template <> |
| 94 | mlir::Value lower_mode<Mode::ERFC>( |
| 95 | mlir::OpBuilder& builder, mlir::Location loc, ValueRange operands) { |
| 96 | ValueBuilderHelper helper(builder, loc); |
| 97 | return helper.sub(helper.const_f32(1.f), erf_approx(helper, operands[0])); |
| 98 | } |
| 99 | |
| 100 | //! ERFINV: inverse of gauss error function |
| 101 | //! https://github.com/scipy/scipy/blob/master/scipy/special/cephes/erfinv.c |
nothing calls this directly
no test coverage detected