Explore >> Select a destination


You are here

arnorhs.dev
| | fernandocorreia.dev
11.6 parsecs away

Travel
| | This is part 23 of my journey learning Golang. Random number generators For some kinds of programs, like simulations, games, or test code, it is useful to be ...
| | probablydance.com
15.2 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...
| | esham.io
10.2 parsecs away

Travel
| | Yet another demonstration of why you should store monetary amounts in integers.
| | qsantos.fr
87.9 parsecs away

Travel
| So Many Bugs So, you've been programming for one month, or for ten years, and you have gotten familiar with Murphy's and Sturgeon's laws. And you are wondering if there is some way to catch all the bugs, not just spray-and-pray with regression/unit/integration/system/acceptance testing. Or you are a curious onlooker, wondering why all these programmers ... Continue reading Why Undefined Behavior Matters ?