I made both a Mastodon and Bluesky account so I could check them both out.
std:fma will generate the fused multiply add instruction in MSVC and GCC, regardless of the setting of fp:precise as you would hope..
But MSVC doesn't know how to auto vectorize it, which kind of defeats the purpose :-( :-(. GCC does though:
godbolt.org/z/4f91hWKEE
std:fma will generate the fused multiply add instruction in MSVC and GCC, regardless of the setting of fp:precise as you would hope..
But MSVC doesn't know how to auto vectorize it, which kind of defeats the purpose :-( :-(. GCC does though:
godbolt.org/z/4f91hWKEE
chrisgreendevelopmentblog.wordpress.com/2024/10/03/a...
chrisgreendevelopmentblog.wordpress.com/2024/10/03/a...
I've made both mastodon and bluesky accounts to replace twitter so I can check them out and decide which to keep.
c++ should have an abbreivated lambda syntax for simple functions. Like:
[]( int arg ) = arg * 2
I've made both mastodon and bluesky accounts to replace twitter so I can check them out and decide which to keep.
c++ should have an abbreivated lambda syntax for simple functions. Like:
[]( int arg ) = arg * 2