Explore >> Select a destination


You are here

arnorhs.dev
| | www.trevorlasn.com
2.4 parsecs away

Travel
| | Understanding the new 16-bit floating point array in JavaScript
| | marcospereira.me
3.6 parsecs away

Travel
| | Understanding floating point representation can help design systems in order to make the most out of this type.
| | james.darpinian.com
2.5 parsecs away

Travel
| | 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...
| | projectf.io
33.7 parsecs away

Travel
| Sometimes you need more precision than integers can provide, but floating-point computation is not trivial (try reading IEEE 754). You could use a library or IP block, but simple fixed point maths can often get the job done with little effort. Furthermore, most FPGAs have dedicated DSP blocks that make multiplication and addition of integers fast; we can take advantage of that with a fixed-point approach.