We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odin: dev-2024-09-nightly:dd1f151 OS: macOS Sonoma 14.3.1 (build: 23D2057, kernel: 23.3.0) CPU: Apple M3 RAM: 16384 MiB Backend: LLVM 18.1.8
Expected that quaternion64 + quaternion64 will operate ok
Compilation panics (see log below)
Just try to run this code:
package main main :: proc() { q1: quaternion64 q2: quaternion64 q3 := q1 + q2 }
This also panics:
main :: proc() { q1: quaternion64 q1.x = 1 q1.y = 2 q1.z = 3 q1.w = 4 q2: quaternion64 q2.x = 1 q2.y = 2 q2.z = 3 q2.w = 4 q3 := q1 + q2 }
But if I use quaternion128 or quaternion256 it will not panic.
quaternion128
quaternion256
main.main lb_emit_conv: src -> dst Not Identical ^f16 != f16 Not Identical ^f16 != f16 Not Identical 11975b770 != 102d9ab58 Not Identical 11975b770 != 102d9ab58 src/llvm_backend_expr.cpp(2478): Panic: Invalid type conversion: '^f16' to 'f16' for procedure 'main.main'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context
Expected Behavior
Expected that quaternion64 + quaternion64 will operate ok
Current Behavior
Compilation panics (see log below)
Failure Information (for bugs)
Steps to Reproduce
Just try to run this code:
This also panics:
But if I use
quaternion128
orquaternion256
it will not panic.Failure Logs
The text was updated successfully, but these errors were encountered: