|
You are here |
www.trevorlasn.com | ||
| | | | |
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... | |
| | | | |
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. | |
| | | | |
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 | |
| | | | |
lukesingham.com
|
|
| | | These are my summary notes of 'A Tour of Go' - which is meant for people who are familiar with programming to have a quick tour | ||