The Wayback Machine - https://web.archive.org/web/20221212203811/https://en.cppreference.com/w/Talk:cpp/algorithm/reduce
Namespaces
Variants
Views
Actions

Talk:cpp/algorithm/reduce

From cppreference.com

"The behavior is non-deterministic if binary_op is not associative or not commutative."

But the sample program uses an operator that is not associative - floating point addition.