Code

History

Commits on dev to win3235+
  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. three small fixes & three revertsgrischka committed 6 years ago8b69059
  6. rm helper scripts newly added by mewanjochan committed 6 years ago3613a11
  7. cleanup win32/tccwin_build.shwanjochan committed 6 years ago777c017
  8. tune win32/tccwin_build.sh for libtccXX.dllwanjochan committed 6 years ago5aaed43
  9. helper script: build tcc32.exe tcc64.exe libtcc32.dll libtcc64.dllwanjochan committed 6 years agoa06e835
  10. helper scripts for windowswanjochan committed 6 years agocdf001c
  11. rework leading underscoresgrischka committed 6 years ago6a4f3cf
  12. Add missing ws2tcpip.h which lets Microsoft Winsock Server sample compile ROOTB on Windows platform.coltrane committed 6 years ago90e9e34
  13. Add missing ws2tcpip.h which lets tcc compile Microsoft Winsock Server sample on Windows platform.coltrane committed 6 years agoe5d7e37
  14. Call __bound_main_arg at startupherman ten brugge committed 6 years ago039e4ec
  15. win32/include/math.h: rint/trunc: pop fp stackgrischka committed 6 years agod019586
  16. 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
  17. 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
  18. win32/build-tcc.bat: clean .o in win32/libSizhe Zhao committed 6 years agoe050ae8
  19. backtrace: test with DLLsgrischka committed 6 years agod79e1de
  20. tccrun.c: standalone backtraces with -bt[N] or -bgr committed 6 years agoef42295
  21. C11, section 7.2: The macro static_assert expands to _Static_assert. This macro was missing on WindowsChristian Jullien committed 6 years ago0d6801b
  22. Add windows constructor/destructor supportherman ten brugge committed 6 years agodf72b8d
  23. some smaller fixesgrischka committed 8 years agoce1ef5b
  24. Add Windows WSAPool declaration, associated struct and constants. It allows 100% poll compatible POSIX API on Windows.Christian Jullien committed 7 years ago4bb5bc4
  25. nocode, noreturngrischka committed 7 years ago1b57560
  26. Remove \r in win32/include/uchar.hChristian Jullien committed 7 years agod052f60
  27. Add win32/include/uchar.h which is a C11 standard header. It makes Windows standalone port more C11 compliantChristian Jullien committed 7 years ago21841cb
  28. fix windows errors uncovered by the inline patchPetr Skocik committed 7 years ago47722a8
  29. Add minimal includes and .def files to support, by default, BSD socket programming on Windows.Christian Jullien committed 7 years agof246109
  30. win64: make signal handlers work somewhatMichael Matz committed 7 years agoc16dadb
  31. Add C99 compiliant iso646.h headerChristian Jullien committed 7 years agoacac38a
  32. Add winnls.h to allow SQLite compile ROOTB on WindowsChristian Jullien committed 7 years agof21b53b
  33. misc fixesgrischka committed 8 years ago8f6fcb7
  34. various stuffgrischka committed 9 years agoda8c62f
  35. Win: crt, initialize global __argc, __targv and _tenviron of msvcrtYX Hao committed 9 years agofaa9744