Why does C++ rounding behavior (for compile-time constants) change if math is moved to an inline ...

Опубликовано: 02 Октябрь 2024
на канале: Sophia Wagner
5
0

Why does C++ rounding behavior (for compile-time constants) change if math is moved to an inline function?
Hey guys! Hopefully you found a solution that helped you!
The Content is licensed under (https://meta.stackexchange.com/help/l...) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all the great people for their contributions!

(stackoverflow.com/users/2465116/user2465116)user2465116
(stackoverflow.com/users/224132/peter-cordes)Peter Cordes
A special thanks goes out to the awesome (https://stackoverflow.com/questions/7... community

If anything is off, please write me at sophia DO.T wagner A.T ois42.de
I wish you all a chilled day! Stay safe :)

compiler-optimization floating-point clang++ clang c++