commit | c65db17340782d647c49e17cbba244862dc38402 | [log] [tgz] |
---|---|---|
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | Thu May 10 17:53:31 2018 +0100 |
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | Wed May 16 13:52:13 2018 +0100 |
tree | 781a38089ac7431fba502e213a328bca0f3a0b14 | |
parent | 2f2d687988c6614e3d2f8636dce5b2d1a10683e5 [diff] |
Use fixed 32bit sign argument to error functions Ideally sign should be bool, but we don't want to depend on stdbool.h and sometimes (e.g. in powf) it's more efficient to pass a non-zero value than 1 to indicate that the sign should be set. While working on double precision versions i realized that the unsigned long argument is fragile (may fail on 32bit targets only).