Hacker News new | ask | show | jobs
by _nalply 1747 days ago
I found about posits.

https://www.johndcook.com/blog/2018/04/11/anatomy-of-a-posit...

Perhaps CFP8 are parameterized 8-bit posits where the parameter is the value es. The larger es is, the greater the dynamic range is at the expense of precision. Two examples:

posit<8, 0> (es = 0) has as largest positive number 64 and the smallest positive number 1/64.

posit<8, 1> (es = 1) has as largest positive number 4012 and the smallest positive number 1/4012.

The formula for the largest positive number for 8-bit posits is:

2 ^ 2 ^ es ^ 6.

posits don't have NaNs and only one infinity (±∞), so they can use more of the 8 bit values for numbers than floating point numbers.

I wonder: is CFP8 = posit<8, es>?