HNHacker News
TopNewBestAskShowJobs

munrocket

29 karma · joined July 9, 2018

submissionscomments
munrocket··on A cryptography engineer's perspective on quantum computing timelines
Yes, this is why I invested in QRL crypto. With lates updates and no T1 exchange it looks like a good opportunity to grow.
munrocket··on QRL 2.0 testnet is released
Documentation: https://test-zond.theqrl.org/
munrocket··on WebGPU Shadertoy for Compute Shaders
You can turn it on in developer features in MacOS Sequoia/iOS 18. Compute.toys fully compatible with Safari.
munrocket··on Parallax effect in browser using web-camera
interesting, thanks!
munrocket··on Parallax effect in browser using web-camera
Probably it's need some time for load or reload would help?
munrocket··on Parallax effect in browser using web-camera
I thought it was pretty clear that examples in the list are links :D
munrocket··on Float128 emulation in Javascript, fastest way how to make 0.1 + 0.2 == 0.3
The problems begins when calculations is long and int64/int32 not enough to store full fraction precision. Lol seems that I find a bug in Fraction.js in rounding https://runkit.com/munrocket/fraction-js-test, but it used in popular Math.js library.
munrocket··on Float128 emulation in Javascript, fastest way how to make 0.1 + 0.2 == 0.3
Nope, check this demo https://runkit.com/munrocket/double.js-hn-example
munrocket··on Float128 emulation in Javascript, fastest way how to make 0.1 + 0.2 == 0.3
How many FLOP do you need to add two rationals? We don't have int type in javascript, only bigInt but it not supported in some browsers and probably not fast enough.

UPD: I added Fraction.js to benchmark https://munrocket.github.io/double.js/docs/benchmark.html but it slower and overflows for some reason, .round(31) not helps.