Contemplate rustc_apfloat for platform consistent floats #44

Open
opened 2024-03-15 01:57:06 +00:00 by jade · 1 comment
Owner

Nix regrettably has floats, which can be used to implement ray tracers and other inadvisable things. We would rather it didn't, but let's make them consistent.

Nix regrettably has floats, which can be used to implement ray tracers and other inadvisable things. We would rather it didn't, but let's make them consistent.
jade added the
stability
label 2024-03-15 01:57:06 +00:00
Owner

I'm a bit unsure how strongly this is needed; IEEE floats should be bit-identical for the base (divide, add, subtract, multiply) operations. It might be good to have either way, though.

(I also like how mentioning rustc_apfloat immediately divulges who you got this idea from, rather than mentioning the upstream llvm APFloat :neofox:)

I'm a bit unsure how strongly this is needed; IEEE floats should be bit-identical for the base (divide, add, subtract, multiply) operations. It might be good to have either way, though. (I also like how mentioning `rustc_apfloat` immediately divulges who you got this idea from, rather than mentioning the upstream llvm APFloat :neofox:)
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#44
No description provided.