Switch test to use `__floatdidf`

The `__floatdidf` builtin uses a more conventional type--`double`--which
means we don't have to guess at the representation of `tf_float`.
pull/494/head
Andrew Brown 3 months ago
parent 38ae65b565
commit 24a7308c87

@ -4,7 +4,7 @@
#include <assert.h>
int main() {
tf_float f = __floatditf(0);
double f = __floatdidf(0);
assert(f == 0.0);
return 0;
}
Loading…
Cancel
Save