Re: [PATCH] libstdc++: Support std::abs for 128-bit integers and floats [PR96710]

2025-05-26 Thread Tomasz Kaminski
On Fri, May 23, 2025 at 6:58 PM Jonathan Wakely wrote: > Currently we only provide std::abs(__int128) and std::abs(__float128) > for non-strict modes, i.e. -std=gnu++NN but not -std=c++NN. > > This defines those overloads for strict modes too, as a small step > towards resolving PR 96710 (which w

[PATCH] libstdc++: Support std::abs for 128-bit integers and floats [PR96710]

2025-05-23 Thread Jonathan Wakely
Currently we only provide std::abs(__int128) and std::abs(__float128) for non-strict modes, i.e. -std=gnu++NN but not -std=c++NN. This defines those overloads for strict modes too, as a small step towards resolving PR 96710 (which will eventually mean that __int128 satisfies the std::integral conc