John Regehr on Nostr: just a peephole optimization in the Go compiler bailing out if c+d != c+d, where c ...
just a peephole optimization in the Go compiler bailing out if c+d != c+d, where c and d are FP constants
(must be a NaN check, but they have an isNaN call available, so why obfuscate it this way?)
Published at
2024-05-25 17:57:25Event JSON
{
"id": "1f4deec0196e2b58f9723ae9b06ba595a312e57a41b095fc3d4914d6fe349ec1",
"pubkey": "a1a4eb540235341a2db0d8a08cfb74edc4bb06b316c7bb39580c55559ce71ba1",
"created_at": 1716659845,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/regehr/statuses/112503019616919151",
"activitypub"
]
],
"content": "just a peephole optimization in the Go compiler bailing out if c+d != c+d, where c and d are FP constants\n\n(must be a NaN check, but they have an isNaN call available, so why obfuscate it this way?)\n\nhttps://files.mastodon.social/media_attachments/files/112/503/010/407/690/132/original/a56d3e7a1cbc4bf5.png",
"sig": "e27780a74774ef651b4007875dd6755b365e9c3e02528a3e5d342e4fa252c6b550cb3a1897e08c71639b0335019d6388e13baff160ee747a1d1637691f0f3ad0"
}