logoalt Hacker News

Mark's Magic Multiply

47 pointsby luulast Saturday at 9:03 AM4 commentsview on HN

Comments

NooneAtAll3today at 5:57 AM

Since the trick works on mantissa only without hidden 1 included, I wonder if that number of bits in mantissa was chosen because of it

awjloganyesterday at 9:27 PM

Link to Mark Owen’s excellent QFP library for soft float on Cortex-M0+ (ARMv6-M) and Cortex-M3/M4 (ARMv7-M).

https://www.quinapalus.com/qfplib.html

Nice write up here, too, I like the idea of a firm float.

mysterydiptoday at 12:38 AM

I appreciate this warning near the top: This post contains floating point. Floating point is known to the State of California to cause confusion and a fear response in mammalian bipeds.

I wisely hit the back button :)

show 1 reply