Skip to content

Commit 86ac025

Browse files
committed
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`.
1 parent 1723c05 commit 86ac025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/general/builtin-floatditf.c renamed to tests/general/builtin-floatdidf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <assert.h>
55

66
int main() {
7-
tf_float f = __floatditf(0);
7+
double f = __floatdidf(0);
88
assert(f == 0.0);
99
return 0;
1010
}

0 commit comments

Comments
 (0)