Code

History

Commits on dev35+
  1. Add READMEVlad Vissoultchev committed 8 years agob91835d
  2. Cleanup and minor fixes in win32/tcc/tcc_libm.h: truncf(), cbrtf(), exp2f(), log2f(), scalbln*()Tyge Løvset committed 5 years ago3b1a42e
  3. 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
  4. Fix char limitsWirtos_new committed 5 years ago82611f5
  5. 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
  6. Fix fork problem 114_bound_signalherman ten brugge committed 5 years ago08d8015
  7. Disable signals in bcheck.c pthread_createherman ten brugge committed 5 years ago54b4aa3
  8. three small fixes & three revertsgrischka committed 6 years ago8b69059
  9. libtcc: no need to undefKyryl Melekhin committed 6 years ago2b7aa2a
  10. tcc.h libtcc.c: remove unused defines pretty sure that functions with use_* do not exist and attempts to use the macros will fail to link I could rename them to be more up to date like tcc_malloc, but to me overloading the std calls with macros is probably taking away control from the programmer, so for the best is to just get rid of them.Kyryl Melekhin committed 6 years ago985d963
  11. tcc_internal_error: print function with __func__.John Scott committed 6 years ago53587ee
  12. tcc_mallocz: clear with memset only if nonzero sizeJohn Scott committed 6 years ago558c6f5
  13. tccgen: flex arrays etc.grischka committed 6 years ago72b520e
  14. Revert "function pointer compare"grischka committed 6 years ago4039551
  15. tcc -bench: show text/data/bss binary output sizesgrischka committed 6 years agocdc3df9
  16. Fix testcase 114 for arm and appleherman ten brugge committed 6 years agoae1796f
  17. Fix tests2/120_alias.c on macosMichael Matz committed 6 years ago78da458
  18. Init range wth symbolsherman ten brugge committed 6 years ago0da9383
  19. Bound checking fixesherman ten brugge committed 6 years agoafc0917
  20. Reinstate attribute alias handlingMichael Matz committed 6 years ago352e1d0
  21. Add typedef debug infoherman ten brugge committed 6 years ago727e24c
  22. Fix bitfields init : tiny solutionherman ten brugge committed 6 years ago8fd7a38
  23. clang7 does not support zero sized structsherman ten brugge committed 6 years ago89ea624
  24. function pointer compareherman ten brugge committed 6 years ago8f9bf3f
  25. Herman proposed patch seems to fix clang issue on x64 DebianChristian Jullien committed 6 years agoffac4e7
  26. bitfields init : tiny solutiongrischka committed 6 years ago8cb3e53
  27. default-initialization of bitfieldsherman ten brugge committed 6 years ago5c6356f
  28. Indentation was missing after empty string check was added by wanjochan.Christian Jullien committed 6 years ago6d819d7
  29. check strlen(TCC_LIBTCC1) before tcc_add_support(s1, TCC_LIBTCC1)wanjochan committed 6 years agobea7dcd
  30. revert 'no-libtcc1' featuregrischka committed 6 years agoaed5cd0
  31. libtcc1.c: cleanup fp2ullgrischka committed 6 years ago4cd6298
  32. Revert "add tests for float conversions to u64"Kyryl Melekhin committed 6 years ago55b4754
  33. Allow strings in __builtin_constant_pherman ten brugge committed 6 years agoc9bbd4e
  34. Struct va_arg fixherman ten brugge committed 6 years ago4a16beb
  35. Fix testcase 114 for macosherman ten brugge committed 6 years ago757a974