Forked from
Dynare / preprocessor
Source project has a limited visibility.
-
Sébastien Villemot authored
The C99 copysign() function was used in the generated C output, but that function does not correctly handle zero. Replace it by a custom sign() function.
Sébastien Villemot authoredThe C99 copysign() function was used in the generated C output, but that function does not correctly handle zero. Replace it by a custom sign() function.