From cfef9ac3f53bf46a0283ae427810d1d950661016 Mon Sep 17 00:00:00 2001 From: Edmund Grimley Evans Date: Sat, 21 Nov 2015 10:35:47 +0000 Subject: [PATCH] TODO: Add note on handling of floating-point values. --- TODO | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TODO b/TODO index aad397f..eb846d9 100644 --- a/TODO +++ b/TODO @@ -35,6 +35,9 @@ Portability: - it is assumed that int is 32-bit and sizeof(int) == 4 - int is used when host or target size_t would make more sense - struct CString is written into an int array and ends up misaligned +- TCC handles target floating-point (fp) values using the host's fp + arithmetic, which is simple and fast but may lead to exceptions + and inaccuracy and wrong representations when cross-compiling Linking: