Code

History

Commits on dev to win32/include35+
  1. Cleanup and minor fixes in win32/tcc/tcc_libm.h: truncf(), cbrtf(), exp2f(), log2f(), scalbln*()Tyge Løvset committed 5 years ago3b1a42e
  2. Overhauled WIN32 math and added missing functions: 1) Cleanup: moved function implementations from win32/include/math.h to win32/include/tcc/tcc_libm.h 2) Added missing math functions: MUSL: asinh(), acosh(), atanh(), scalbn(). My impl: log1p(), expm1(), ilogb(), scalbln(), nexttoward() - now only a few are missing: remquo(), remainder(), fma(), nan(), erf(), erfc(), nearbyint(). 3) Added/defined all missing *f() and *l() math functions. 4) Added functions have short but accurate/fast implementations. 5) Added <tgmath.h> for all platforms. (not too useful, IMO, but is C99 standard).Tyge Løvset committed 5 years agob11144d
  3. Fix char limitsWirtos_new committed 5 years ago82611f5
  4. WIN32/64 only: Added C99 math functions: tgamma(), tgammaf(), lgamma(), lgammaf(), cbrt(), cbrtf(), log2(), log2f(), exp2(), exp2f(). The gamma() functions are accurate to 13 digits over the full range. Returns INFINITY / NAN identical to other compiler's math libs.Tyge Løvset committed 5 years ago1073b37
  5. Add missing ws2tcpip.h which lets Microsoft Winsock Server sample compile ROOTB on Windows platform.coltrane committed 6 years ago90e9e34
  6. Add missing ws2tcpip.h which lets tcc compile Microsoft Winsock Server sample on Windows platform.coltrane committed 6 years agoe5d7e37
  7. win32/include/math.h: rint/trunc: pop fp stackgrischka committed 6 years agod019586
  8. Finalizing math.h fixes: - Updated msvcrt.def with symbols from 64bit version of dll - it contains the float math functions missing in the 32bit dll. - Made sure this patch only apply to to WIN32 and WIN64. For WIN32 float functions calls the double variants, on 64bit they are called natively.Tyge committed 6 years ago024214a
  9. Minimum changes to make all float variants of math.h functions work, by calling the double functions and removing unsupported __asm implementations using "=t". This patch also enables the double version of logb(double).Tyge committed 6 years agodf67d86
  10. C11, section 7.2: The macro static_assert expands to _Static_assert. This macro was missing on WindowsChristian Jullien committed 6 years ago0d6801b
  11. some smaller fixesgrischka committed 8 years agoce1ef5b
  12. Add Windows WSAPool declaration, associated struct and constants. It allows 100% poll compatible POSIX API on Windows.Christian Jullien committed 7 years ago4bb5bc4
  13. nocode, noreturngrischka committed 7 years ago1b57560
  14. Remove \r in win32/include/uchar.hChristian Jullien committed 7 years agod052f60
  15. Add win32/include/uchar.h which is a C11 standard header. It makes Windows standalone port more C11 compliantChristian Jullien committed 7 years ago21841cb
  16. fix windows errors uncovered by the inline patchPetr Skocik committed 7 years ago47722a8
  17. Add minimal includes and .def files to support, by default, BSD socket programming on Windows.Christian Jullien committed 7 years agof246109
  18. Add C99 compiliant iso646.h headerChristian Jullien committed 7 years agoacac38a
  19. Add winnls.h to allow SQLite compile ROOTB on WindowsChristian Jullien committed 7 years agof21b53b
  20. misc fixesgrischka committed 8 years ago8f6fcb7
  21. Spelling fixesLarry Doolittle committed 9 years ago1b6806e
  22. Convert from ISO-8859-1 to UTF-8. See aa812e8.Edmund Grimley Evans committed 9 years agoac41e01
  23. final adjustments for releasegrischka committed 9 years ago7acf9aa
  24. makefile: unify cross with native buildsgrischka committed 9 years agobb93064
  25. tcc: re-enable correct option -r supportgrischka committed 9 years ago5f33d31
  26. updates & cleanups (tcc-doc/Changelog/TODO ...)grischka committed 9 years ago43d9a7d
  27. win32: include/winapi: remove more filesgrischka committed 9 years agoe596b87
  28. tccpp_new/delete and other cleanupsgrischka committed 10 years ago0be0989
  29. Remove misc. filesgrischka committed 10 years ago8637c1d
  30. win32: _mingw.h: add definition for _TRUNCATE from newer _mingw.hAvi Halachmi (:avih) committed 10 years ago3f21d81
  31. win32: malloc.h: use alloca instead of (missing) _allocaAvi Halachmi (:avih) committed 10 years agoab8422c
  32. win32: wchar.h: don't redifine WCHAR_MIN[/MAX] (after stdint.h)Avi Halachmi (:avih) committed 10 years agob67951b
  33. tccgen: scopes levels for local symbols (update 1)grischka committed 10 years agod48662d
  34. win32: Add missing header files for nginx compilationseyko committed 10 years agoa1a5c81
  35. Use proper ifdef for x64 check in winnt.hVlad Vissoultchev committed 10 years ago5175b1a