Code

History

Commits on dev to include35+
  1. 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
  2. Add L suffix to LDBL values.Christian Jullien committed 6 years ago58be11f
  3. Fix LDBL_xx values for aarch64 and riscvChristian Jullien committed 6 years ago9276936
  4. macos: various fixesMichael Matz committed 6 years ago5d2f4cb
  5. tccpp.c: compile 'tcc_predefs' from stringgrischka committed 6 years ago7818725
  6. stdarg: always have the __builtin_va_* availableMichael Matz committed 8 years ago245f6a0
  7. Fix stdarg on x86-64Michael Matz committed 6 years ago8c6143d
  8. Make tcclib1.a compile on macOS againRobert Hoelzl committed 6 years ago1803762
  9. add C11 stdalign.h headerSergey Sushilin committed 7 years ago9298555
  10. riscv: implement stdarg functionsMichael Matz committed 7 years ago982de78
  11. C11 conformance: Add _Noreturn, stdnoreturn.h, and partial _Alignas supportDevin Hussey committed 7 years ago9382a3a
  12. Fix va_end() definition: must be an expression of type voidVincent Lefevre committed 7 years agobe7c870
  13. Make stddef.h expose max_align_t with -std= >= c11Petr Skocik committed 7 years ago065a3b3
  14. Revert "Add max_align_t to stddef.h"Petr Skocik committed 7 years ago7369cfc
  15. Add max_align_t to stddef.hPetr Skocik committed 7 years ago7eceba1
  16. various stuffgrischka committed 9 years agoda8c62f
  17. Adjust va_list to work with muslSteffen Nurpmeso committed 9 years agoa1c9051
  18. Revert "use int for ssize_t, (u)intptr_t instead of long in stddef.h"Matthias Gatto committed 9 years ago4f15d08
  19. use int for ssize_t, (u)intptr_t instead of long in stddef.hMatthias Gatto committed 9 years ago52622c3
  20. remove inside_generic hackMatthias Gatto committed 9 years agob72cdda
  21. Add support of musl-libcMarc Vertes committed 9 years ago0ac29b5
  22. Avoid conflicting definition for va_list on 64-bit MacsDavid Mertens committed 10 years ago0a402f6
  23. win64: fix va_arggrischka committed 10 years ago4134994
  24. include/stddef.h: define NULL only if undefinedseyko committed 11 years ago12f94f2
  25. Add arm64 (AArch64) as a target architecture.Edmund Grimley Evans committed 11 years agob14ef0e
  26. Corrected spelling mistakes in comments and stringsVincent Lefevre committed 12 years ago3e9a7e9
  27. stdbool.h: Make conformant to ISOC99Michael Matz committed 12 years agof013737
  28. Declare wint_t in <stddef.h> when neededMichael Matz committed 12 years ago0961a38
  29. x86_64: pass va_list as pointerDaniel Glöckner committed 12 years ago3900b23
  30. New implementation of va_list/va_start/var_copy that do not use dynamic memory, with this when compiling fossil-scm with tcc on linux X86_64 it works fine.mingodad committed 12 years agoc025478
  31. Fixed the LDBL_* macros in include/float.h for x86-64: as said when x86-64 support was added, "for long double, we use x87 FPU". And indeed, tests show that Intel's extended precision is used, not double precision.Vincent Lefevre committed 12 years ago262eec3
  32. Add va_* macro implementation for ARMThomas Preud'homme committed 12 years ago4260ce1
  33. Fixed x86-64 long double passing.James Lyon committed 13 years ago6ee366e
  34. Sorted out CMake on x86-64 and fixed silly XMM# bug introduced when working on Win64 stdargs.James Lyon committed 13 years ago1caee8a
  35. 64-bit tests now pass (well, nearly).James Lyon committed 13 years ago5c35ba6