zig icon indicating copy to clipboard operation
zig copied to clipboard

fix C type corresponding to f80

Open richRemer opened this issue 1 year ago • 1 comments

fixes issue #20898

Updates documentation to correctly reference 'long double' as equivalent ANSI C type for Zig 'f80'.

richRemer avatar Aug 01 '24 16:08 richRemer

Hmm. I believe that not all x86-32 targets actually define long double to be f80; for some, it's just f64. There's also the fact that, at least without SSE, even double computations actually happen in f80 precision on x86-32.

But that's probably too much nuance to fit into this table, so it's probably ok to just keep it simple like this.

alexrp avatar Aug 01 '24 18:08 alexrp

it should just be blank for f80.

andrewrk avatar Aug 12 '24 07:08 andrewrk