BenchmarkMathSin is slower because the standard library `math.Sin` calculates a more accurate value.
(b *testing.B)
| 37 | |
| 38 | // BenchmarkMathSin is slower because the standard library `math.Sin` calculates a more accurate value. |
| 39 | func BenchmarkMathSin(b *testing.B) { |
| 40 | for i := 0; i < b.N; i++ { |
| 41 | stdmath.Sin(180) |
| 42 | } |
| 43 | } |
nothing calls this directly
no outgoing calls
no test coverage detected