live-bootstrap/steps/tcc-0.9.26/simple-patches/float_negation.before
2026-03-07 20:10:51 -05:00

8 lines
186 B
Text

#if HAVE_FLOAT
if (t == VT_FLOAT)
vtop->c.f = -1.0 * 0.0;
else if (t == VT_DOUBLE)
vtop->c.d = -1.0 * 0.0;
else
vtop->c.ld = -1.0 * 0.0;
#endif