Explore >> Select a destination


You are here

basesandframes.wordpress.com
| | probablydance.com
6.4 parsecs away

Travel
| | 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...
| | rupertmckay.com
5.2 parsecs away

Travel
| | Rounding errors are inevitable.
| | pavpanchekha.com
4.7 parsecs away

Travel
| |
| | parametricity.com
70.7 parsecs away

Travel
| There's a famous dubious argument that "proves" the set of $\mathrm{Tree}$ of (planar, rooted) binary trees is in bijection with the set of $7$-tuples of trees $\mathrm{Tree}^6$.