sizeof(long double) is 16 (aka 128 bits) in Intel Macs for alignment purposes but is actually 80 bit precision according to their documentation. In Apple Silicon, long doubles are just doubles. Anybody know how I can get 80 bit precision or better in my ARM64 slice?
sizeof(long double) differs in Intel vs. ARM64 (ARM64 long doubles are just doubles). How to get extended precision in Apple Silicon?
The 80-bit floating point format you’re using is very Intel-specific. It’s not supported on Apple Silicon. AFAICT there’s no built-in support for floating-point numbers larger than Float64. If you absolutely need that, you’ll have to look for a third-party library that does this.
Keep in mind that this will be implemented in software and thus there’ll be a significant performance impact.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Keep in mind that this will be implemented in software and thus there’ll be a significant performance impact.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Agh, sorry, the line feeds did not stick
Indeed. If you put your text into an answer (the Your Answer field) rather than a comment, it’ll be much more readable.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"