News for hackers. Stuff that matters.
Re:Faster asin() was hiding in plain sight by Am4TIfIsER0ppos on Wednesday March 11, 2026 @11:58AM (#47337301)
I don't do much float work but I don't think there is a single regular sine instruction only old x87 float stack ones.

I was curious what "sequence" would end up being but my compiler is too old for that intrinsic. Even godbolt didn't help for gcc or clang but it did reveal that icc produced a call https://godbolt.org/z/a3EsKK4aY

Re:Faster asin() was hiding in plain sight by nitwit005 on Wednesday March 11, 2026 @02:57PM (#47339695)
If you click libraries on godbolt, it's pulling in a bunch, including multiple SIMD libraries. You might have to fiddle with the libraries or build locally.