Re:Rotations with quaternions
by dnautics on Tuesday June 01, 2021 @11:38AM
(#27356151)
checked myself. My cursory, poor search suggests it's UB in C++, but not in C?
[ Parent
| on HN ]
Re:Rotations with quaternions
by steerablesafe on Tuesday June 01, 2021 @12:38PM
(#27357261)
It is definitely UB in C++ and probably implementation defined in C (and this use is fine all implementations, AFAIK). Some C++ implementations allow this as a conforming language extension.