/explore
|
You are here |
projectf.io | ||
| | | | |
embecosm.com
[AI summary] Embecosm provides freely available GCC toolchains for RISC-V based solutions and discusses developments in RISC-V ISA extensions, facial recognition projects, and AI research. |
|
| | | | | ||
| | | | |
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... |
|
| | | | | ||
| | | | |
probablydance.com
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... |
|
| | | | | ||
| | | | |
blog.tofile.dev
Using eBPF to uncover in-memory loading |
|
| | | |||