|
You are here |
gus-massa.blogspot.com | ||
| | | | |
marcospereira.me
|
|
| | | | | Understanding floating point representation can help design systems in order to make the most out of this type. | |
| | | | |
probablydance.com
|
|
| | | | | Here is a rough approximation of float multiplication (source): float rough_float_multiply(float a, float b) { constexpr uint32_t bias = 0x3f76d000; return bit_cast(bit_cast(a) + bit_cast(b) - bias); } We're casting the floats to ints, adding them, adjusting the exponent, and returning as float. If you think about it for a second you will realize that since... | |
| | | | |
orlp.net
|
|
| | | | | ||
| | | | |
blog.eowyn.net
|
|
| | | An assembler for the Intel 4004 processor written in Python | ||