在 2025-7-7 20:52, Luca Bacci 写道:
Question: should I really define the macros conditionally on __STDC_VERSION__?
I suspect not.
But the value of `math_errhandling` should be subject to GCC command-line
options, like this:
#if defined __FAST_MATH__ /* no error handling. */
# define m
See https://en.cppreference.com/w/c/numeric/math/math_errhandling.html
Question: should I really define the macros conditionally on __STDC_VERSION__?
Thanks,
Luca
From 4e437b49dbdc12a6e5975ef85fea18a820c6 Mon Sep 17 00:00:00 2001
From: Luca Bacci
Date: Mon, 7 Jul 2025 14:46:09 +0200
Subject: