static*/
| 56 | |
| 57 | #if !defined(__APPLE__) && !defined(_AIX) |
| 58 | /*static*/ int my_fpe() // NOLINT(misc-use-internal-linkage) |
| 59 | { |
| 60 | if (feenableexcept(FE_ALL_EXCEPT) == -1) |
| 61 | return 2; |
| 62 | if (std::feraiseexcept(FE_ALL_EXCEPT) != 0) |
| 63 | return 3; |
| 64 | return 1 % -1; |
| 65 | } |
| 66 | #endif |
| 67 | #endif |
| 68 |