projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
print out times and reverse perfect elimination order no disabled
[libfirm]
/
ir
/
tv
/
fltcalc.c
diff --git
a/ir/tv/fltcalc.c
b/ir/tv/fltcalc.c
index
2a86875
..
56c1ce3
100644
(file)
--- a/
ir/tv/fltcalc.c
+++ b/
ir/tv/fltcalc.c
@@
-28,6
+28,7
@@
#include "fltcalc.h"
#include "strcalc.h"
#include "fltcalc.h"
#include "strcalc.h"
+#include "error.h"
#include <math.h>
/* undef some reused constants defined by math.h */
#include <math.h>
/* undef some reused constants defined by math.h */
@@
-43,8
+44,7
@@
#include "xmalloc.h"
#include "xmalloc.h"
-#if !defined(HAVE_LONG_DOUBLE) || defined(__CYGWIN__)
-/* No strtold on windows and no replacement yet */
+#ifndef HAVE_STRTOLD
#define strtold(s, e) strtod(s, e)
#endif
#define strtold(s, e) strtod(s, e)
#endif
@@
-1547,10
+1547,7
@@
fp_value *fc_rnd(const fp_value *a, fp_value *result)
TRACEPRINTF(("%s ", fc_print(a, buffer, sizeof(buffer), FC_PACKED)));
TRACEPRINTF(("rounded to integer "));
TRACEPRINTF(("%s ", fc_print(a, buffer, sizeof(buffer), FC_PACKED)));
TRACEPRINTF(("rounded to integer "));
- assert(!"fc_rnd() not yet implemented");
-
- TRACEPRINTF(("= %s\n", fc_print(result, buffer, sizeof(buffer), FC_PACKED)));
- return result;
+ panic("fc_rnd() not yet implemented");
}
/*
}
/*