Subject: bug#43579: g++ does not provide std::fegetround

From: Brett Gilio <[email-masked]>
Date: Thu, 01 Oct 2020 21:39:35 -0500

Ludovic Courtès <[email-masked]> writes:

> Hallo!
>
> Andreas Enge <[email-masked]> skribis:
>
>> The following test file round.cpp does not compile with our g++-10.2.0:
>> #include <cfenv>
>> int main () {
>>    return std::fegetround ();
>> }
>
> Could you provide detailed steps to reproduce it?
>
> Thanks,
> Ludo’.

I believe `std::fegetround` was introduced in C++11, are you using the
appropriate flag?

Brett Gilio