/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.m-ou.se
| | probablydance.com
7.0 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...
| | orlp.net
4.6 parsecs away

Travel
| | [AI summary] A deep dive into the complexities and pitfalls of comparing different numeric types (integers and floating-point) across various programming languages and the CPU architecture
| | clemenswinter.com
5.3 parsecs away

Travel
| | I recently implemented a small program to visualize the inner workings of a scheme that compresses floating point timeseries by XORing subsequent values. The resulting visualizations are quite neat and made it much easier for me to understand this beautiful algorithm than any of the explanations that I had previously encountered. Hacker News (280 points,...
| | bartoszmilewski.com
29.2 parsecs away

Travel
| This is part 15 of Categories for Programmers. Previously: Representable Functors. See the Table of Contents. Most constructions in category theory are generalizations of results from other more specific areas of mathematics. Things like products, coproducts, monoids, exponentials, etc., have been known long before category theory. They might have been known under different names in...