frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Floating point from scratch: Hard Mode

https://essenceia.github.io/projects/floating_dragon/
37•random__duck•2d ago

Comments

Taniwha•1h ago
Everyone who has ever had to build a floating point unit has hated it with a passion, I've watched in done from afar, and done it myself
CyLith•1h ago
And anyone implementing numerical algorithms is thankful for the tremendous amount of thought put into the fp spec. The complexity is worth it and makes the code much safer.
adgjlsfhk1•17m ago
imo they were wrong almost as much as they were right. -0.0, the plethora of NaNs, and having separate Inf and NaN all make the life of people writing algorithms a lot more annoying for very little benefit.
trollbridge•18m ago
I just wish there were a widespread decimal-based floating point standard & units.
saagarjha•40m ago
I think the thing that truly scares me about floating point is not IEEE-754 or even the weird custom floating points that people come up with but the horrible, horrible things that some people think passes for a floating point implementation in hardware, who think that things like infinities or precision in the last place are kind of overrated.
Neywiny•29m ago
I had to do an FP8 adder as my final project for my FPGA lab. It was at least a full page of state machine. And I write small. I ended up just not doing the rounding and truncating instead because I was so done with it.

Consider me educated on the mantissa. That's a nifty pedantry.

Typo in the c++?

> cout << "x =/= x: " << ((x=x) ? "true" : "false") << endl;

Should be x != x?

For the leading 0 counter, I've found it's even better for the tool if I use a for loop. Keeps things scalable and it's even less code. I'm not understanding this takeaway though

> Sometimes a good design is about more than just performance.

The good design (unless the author's note that it's easier to read and maintain makes it worse design?) was better performing. So sometimes a good design creates performance.

Likewise for pipelining: it would have been interesting to know if the tools can reorder operations if you give them some pipeline registers to play with. In Xilinx land it'll move your logic around and utilize the flops as it sees fit.

Are We Idiocracy Yet?

https://idiocracy.wtf/
484•jdiiufccuskal•3h ago•302 comments

We found an undocumented bug in the Apollo 11 guidance computer code

https://www.juxt.pro/blog/a-bug-on-the-dark-side-of-the-moon/
102•henrygarner•2h ago•46 comments

Show HN: Brutalist Concrete Laptop Stand (2024)

https://sam-burns.com/posts/concrete-laptop-stand/
53•sam-bee•1h ago•10 comments

LLM may be standardizing human expression – and subtly influencing how we think

https://dornsife.usc.edu/news/stories/ai-may-be-making-us-think-and-write-more-alike/
71•giuliomagnifico•1h ago•56 comments

Show HN: Stop paying for Dropbox/Google Drive, use your own S3 bucket instead

https://locker.dev
58•Zm44•1h ago•46 comments

Show HN: A cartographer's attempt to realistically map Tolkien's world

https://www.intofarlands.com/atlasofarda
19•intofarlands•46m ago•1 comments

Identify a London Underground Line just by listening to it

https://tubesoundquiz.com/
61•nelson687•2h ago•16 comments

Blackholing My Email

https://www.johnsto.co.uk/blog/blackholing-my-email/
63•semyonsh•4h ago•2 comments

Breaking the console: a brief history of video game security

https://sergioprado.blog/breaking-the-console-a-brief-history-of-video-game-security/
39•sprado•3h ago•5 comments

Every GPU That Mattered

https://sheets.works/data-viz/every-gpu
146•jonbaer•4h ago•74 comments

Show HN: Pion/handoff – Move WebRTC out of browser and into Go

https://github.com/pion/handoff
11•Sean-Der•56m ago•1 comments

Running Out of Disk Space in Production

https://alt-romes.github.io/posts/2026-04-01-running-out-of-disk-space-on-launch.html
39•romes•3d ago•12 comments

My Experience as a Rice Farmer

https://xd009642.github.io/2026/04/01/My-Experience-as-a-Rice-Farmer.html
216•surprisetalk•4d ago•97 comments

Floating point from scratch: Hard Mode

https://essenceia.github.io/projects/floating_dragon/
38•random__duck•2d ago•6 comments

Wi-Fi That Can Withstand a Nuclear Reactor: This receiver chip can take it

https://spectrum.ieee.org/robotics-in-nuclear-industry
10•voxadam•4d ago•0 comments

DeiMOS – A Superoptimizer for the MOS 6502

https://aransentin.github.io/deimos/
8•Aransentin•1h ago•0 comments

Show HN: Ghost Pepper – Local hold-to-talk speech-to-text for macOS

https://github.com/matthartman/ghost-pepper
413•MattHart88•17h ago•185 comments

Sam Altman may control our future – can he be trusted?

https://www.newyorker.com/magazine/2026/04/13/sam-altman-may-control-our-future-can-he-be-trusted
1566•adrianhon•1d ago•636 comments

Issue: Claude Code is unusable for complex engineering tasks with Feb updates

https://github.com/anthropics/claude-code/issues/42796
1185•StanAngeloff•23h ago•638 comments

Three hundred synths, 3 hardware projects, and one app

https://midi.guide/blog/three-hunded-synths-one-app/
71•ductionist•7h ago•4 comments

Second Revision of 6502 Laptop

https://codeberg.org/TechPaula/LT6502b
72•uticus•3d ago•16 comments

Solod – A subset of Go that translates to C

https://github.com/solod-dev/solod
148•TheWiggles•12h ago•36 comments

Launch HN: Freestyle – Sandboxes for Coding Agents

https://www.freestyle.sh/
291•benswerd•20h ago•149 comments

A cryptography engineer's perspective on quantum computing timelines

https://words.filippo.io/crqc-timeline/
510•thadt•21h ago•203 comments

Show HN: AdaShape-3D modeler for intuitive 3D printing parts / Windows 11

https://adashape.com
25•fsloth•3d ago•12 comments

Peptides: where to begin?

https://www.science.org/content/blog-post/ah-peptides-where-begin
201•A_D_E_P_T•15h ago•258 comments

German police name alleged leaders of GandCrab and REvil ransomware groups

https://krebsonsecurity.com/2026/04/germany-doxes-unkn-head-of-ru-ransomware-gangs-revil-gandcrab/
313•Bender•23h ago•154 comments

Apollo Guidance Computer restoration videos

https://www.curiousmarc.com/space/apollo-guidance-computer
73•mariuz•2d ago•10 comments

Show HN: GovAuctions lets you browse government auctions at once

https://www.govauctions.app/
295•player_piano•20h ago•82 comments

What being ripped off taught me

https://belief.horse/notes/what-being-ripped-off-taught-me/
431•doctorhandshake•1d ago•211 comments