To confirm, I can reproduce this on another machine with a different processor and have tested using different compilers.
Apple clang 15.0.0 reports no errors
clang version 19.1.5 (via llvm via brew install llvm) reports tiny errors as you might expect with relaxed float compliance.
Apple clang 16.0.0 is wildly different (imaginary portion have their sign flipped).
Would be super nice if Apple could comment on this and what the timeline might be for a fix.
Thanks!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: