Hacker News new | ask | show | jobs
by odo1242 16 days ago
> And if Math.tanh is on your hot path in JavaScript then you're doing something quite bizarre...

Machine learning? (on a machine with no WebGL/WebGPU, I guess)

1 comments

Sure, but you'd use a low-precision approximation for that; you don't need full double precision