/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

www.trevorlasn.com
| | orlp.net

[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
4.9 parsecs

Travel
| |
| | james.darpinian.com

You may know that all numbers in JavaScript are 64 bit double-precision floating point values. This is sometimes convenient and it works pretty well as a default for novice programmers, who are often confused by integer math, and rightfully so when 1 / 2 = 0. Unfortunately, it makes things slow. Doubles take a lot of memory and floating point math is slower than integer math on CPUs. It's also inconvenient if you want to port existing code to JavaScript, because existing code usually expects to use integ...
4.6 parsecs

Travel
| |
| | www.sicpers.info

[AI summary] The article explains that IEEE 754 floating-point numbers are not inherently weird but are specialized tools, and encourages programmers to explore alternative number representations like decimals and posits for more general-purpose computing needs.
3.2 parsecs

Travel
| |
| | www.felixcloutier.com


40.0 parsecs

Travel
|