John Regehr on Nostr: a design decision about LLVM IR that I like is that it only lets you write down a ...
a design decision about LLVM IR that I like is that it only lets you write down a floating point constant if it's representable in the FP type
https://gcc.godbolt.org/z/76cYfsdqWPublished at
2024-11-08 15:31:55Event JSON
{
"id": "5febcfc1e1279476b7a3fc9668d79fb91c668de69211b840ffc06c3b5700a4ec",
"pubkey": "a1a4eb540235341a2db0d8a08cfb74edc4bb06b316c7bb39580c55559ce71ba1",
"created_at": 1731079915,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/regehr/statuses/113448053326224579",
"activitypub"
]
],
"content": "a design decision about LLVM IR that I like is that it only lets you write down a floating point constant if it's representable in the FP type \n\nhttps://gcc.godbolt.org/z/76cYfsdqW",
"sig": "05904d17f6026f4684f994e502a03486b2660090bdaeca65e1a70a9871a22f853c316fe70be96f5b652feac460d8eda7068a9c8c275eddbdacc8e1b6f8d78dea"
}