3 ms·
I collected this, and a few others here: https://github.com/ncruces/fastmath/blob/main/fast.go https://github.com/ncruces/fastmath/blob/main/fast.go It's in Go
by ncruces 2y ago
I collected this, and a few others here: https://github.com/ncruces/fastmath/blob/main/fast.go https://github.com/ncruces/fastmath/blob/main/fast.go
It's in Go, but ports easily to other languages.
See also:
https://stackoverflow.com/questions/32042673/optimized-low-accuracy-approximation-to-rootnx-n https://stackoverflow.com/questions/32042673/optimized-low-a...
- mbitsnbites 2y agoExcellent! Will have a look.