logoalt Hacker News

yongjikyesterday at 11:56 PM0 repliesview on HN

If your input is an arbitrary float, you need to check for denormals (and maybe NaNs). You can do bitmasking trick to avoid conditional jumps but I'm skeptical you can do it faster than SIMD multiply instruction.