Commit Graph

  • 66cfa0d406 Remove unnecessary code in lround(). Stephen Heumann 2021-11-28 18:28:25 -0600
  • e00c21dd70 Work around bug in FX2C and FX2L. Stephen Heumann 2021-11-27 22:16:54 -0600
  • 503182e435 Initial implementation of lround(). Stephen Heumann 2021-11-27 17:52:46 -0600
  • 88a7bbebcc Implement round(). Stephen Heumann 2021-11-27 15:55:54 -0600
  • d08773af0d Implement nextafter and nexttoward. Stephen Heumann 2021-11-26 12:47:02 -0600
  • 6364d0f48f Implement llrint. Stephen Heumann 2021-11-23 21:16:12 -0600
  • ce05615a63 Implement fmax and fmin. Stephen Heumann 2021-11-23 18:54:18 -0600
  • 14908ebcd6 Implement the nan() function. Stephen Heumann 2021-11-22 21:59:50 -0600
  • c025bba177 Implement nearbyint and fdim. Stephen Heumann 2021-11-22 19:25:25 -0600
  • 2334443437 Implement scalbln. Stephen Heumann 2021-11-21 20:10:36 -0600
  • 268892b671 Add float and long double versions of functions in SysFloat. Stephen Heumann 2021-11-21 14:34:52 -0600
  • 3ec8a8797f Implement some of the math functions added in C99. Stephen Heumann 2021-11-20 19:24:51 -0600
  • fb5683a14d Add a function to implement the FP comparison macros in <math.h>. Stephen Heumann 2021-11-02 21:56:30 -0500
  • b8605de33f Add a new helper function to record varargs info when va_end is called. Stephen Heumann 2021-10-23 21:08:30 -0500
  • e3c9bc96bc Add implementation of the <uchar.h> functions. Stephen Heumann 2021-10-02 22:39:16 -0500
  • ae504c6e4f Add support for EILSEQ errno value. Stephen Heumann 2021-10-02 14:34:35 -0500
  • 09942026a8 Add mblen function. Stephen Heumann 2021-09-30 18:38:57 -0500
  • 3a847d245e Add strcoll and strxfrm functions. Stephen Heumann 2021-09-30 18:37:54 -0500
  • 512fadeff0 Add an implementation of the <locale.h> functions. Stephen Heumann 2021-09-30 18:34:54 -0500
  • 5ad86f4a0b Implement strftime. Stephen Heumann 2021-09-26 20:31:15 -0500
  • 379f2f93ad Fix bug causing data corruption when assigning to multiple structs. Stephen Heumann 2021-09-17 18:25:32 -0500
  • 3dac15e6b9 Update GNO version makefile to include new source files. gno-orcalib-220b5 Stephen Heumann 2021-09-03 22:03:17 -0500
  • cc6ee968f3 Merge branch 'master' into gno-version Stephen Heumann 2021-09-03 21:59:40 -0500
  • ee395c371b Update misleading comments that referred to stddef instead of stdlib. orcalib-220b5 Stephen Heumann 2021-09-02 17:40:34 -0500
  • 9937ef7003 In system(), avoid depending on the data bank value at entry. Stephen Heumann 2021-09-02 17:38:38 -0500
  • 869f8726a6 Add __assert2 function to include the function name when reporting assertion failures. Stephen Heumann 2021-08-24 18:21:39 -0500
  • 690ee7137f Add a function to get the proper value of CLOCKS_PER_SEC. Stephen Heumann 2021-08-23 18:49:36 -0500
  • 79201198a1 Fix a bug in memset. Stephen Heumann 2021-03-10 20:08:36 -0600
  • 9e727697d3 Add a helper function to get the sign bit. Stephen Heumann 2021-03-09 00:24:26 -0600
  • 98cfd4e831 Add floating-point number classification functions. Stephen Heumann 2021-03-08 23:44:44 -0600
  • 07959d32eb Add new routines to reduce the precision of floating-point numbers. Stephen Heumann 2021-03-06 22:21:52 -0600
  • 0685ce71ca Add an implementation of <fenv.h> to ORCALib. Stephen Heumann 2021-03-06 16:29:02 -0600
  • 508d0266a0 Update README.GNO file. Stephen Heumann 2021-02-26 22:21:58 -0600
  • d92183ad41 Update version number in rVersion resource. Stephen Heumann 2021-02-26 21:25:52 -0600
  • 14c7a1186c Update GNO version makefile to include int64.asm. Stephen Heumann 2021-02-26 21:22:53 -0600
  • fffeef1206 Merge branch 'master' into gno-version Stephen Heumann 2021-02-26 21:20:39 -0600
  • 7e95f8b182 In qsort, make sure to do nothing if count is 0. Stephen Heumann 2021-02-25 22:52:34 -0600
  • 9af245933c Change long long printing routine to a new technique not using division. Stephen Heumann 2021-02-21 18:33:04 -0600
  • 52c011ab48 Implement atoll() function. Stephen Heumann 2021-02-17 14:37:54 -0600
  • f9d7017687 Add real to long long conversion routines. Stephen Heumann 2021-02-16 18:44:38 -0600
  • 81e152f863 Add a comparison routine for signed 64-bit numbers. Stephen Heumann 2021-02-15 18:06:54 -0600
  • 6bf27c6743 Use some improved macros for 64-bit operations in the libraries. Stephen Heumann 2021-02-12 20:24:37 -0600
  • 91f0dcbdb9 Optimize 64-bit unsigned shifts. Stephen Heumann 2021-02-12 15:58:27 -0600
  • 7ad54827a3 Add 64-bit shift routines. Stephen Heumann 2021-02-12 15:05:23 -0600
  • a5d0172d82 Add signed/unsigned long long to SANE extended conversion routines. Stephen Heumann 2021-02-11 12:41:36 -0600
  • c185face85 Add long long support for printf d/i/u conversions. Stephen Heumann 2021-02-10 17:51:23 -0600
  • 4f9b41938a Implement vscanf/vfscanf/vsscanf (from C99). Stephen Heumann 2021-02-09 22:09:00 -0600
  • cfc3fd3468 scanf: if %c gets some characters but < field width, it's a matching failure. Stephen Heumann 2021-02-09 16:00:25 -0600
  • 6626aad7f0 scanf: report EOF for 's' conversions, is appropriate. Stephen Heumann 2021-02-09 15:43:03 -0600
  • bc21593507 scanf: 's' and '[' conversions should "put back" EOF if it is encountered. Stephen Heumann 2021-02-09 15:31:19 -0600
  • 375d664ae1 Recognize 'L' as a length modifier for scanf. Stephen Heumann 2021-02-09 14:32:20 -0600
  • 2f68708b47 scanf: Report EOF for o/u/x conversions, if appropriate. Stephen Heumann 2021-02-09 13:14:24 -0600
  • 66e1835175 scanf could trash a word of the caller's stack if it did not perform all possible assignments. Stephen Heumann 2021-02-09 13:09:04 -0600
  • 61bfc70b9b scanf: for 'i' or 'd' specifiers, count a leading sign toward the field width. Stephen Heumann 2021-02-09 00:40:24 -0600
  • de9f830c0c scanf: when an ordinary character cannot match due to EOF, flag an input failure. Stephen Heumann 2021-02-08 00:15:13 -0600
  • 23a27bd434 scanf: accept leading whitespace in a %% conversion. Stephen Heumann 2021-02-08 00:05:30 -0600
  • 539707344a scanf: a sign and/or 0x prefix with no following digits should be a matching failure. Stephen Heumann 2021-02-07 21:57:24 -0600
  • 3ef9687b7e scanf: allow u/o/x conversions to match numbers with a leading sign. Stephen Heumann 2021-02-07 18:45:52 -0600
  • aa1351f84d Add support for long long in scanf. Stephen Heumann 2021-02-07 08:35:18 -0600
  • 506f9fa965 Implement strtoll and strtoull (aka strtoimax and strtoumax). Stephen Heumann 2021-02-06 14:37:42 -0600
  • 6635346ae8 Implement llabs and imaxabs functions. Stephen Heumann 2021-02-06 00:11:44 -0600
  • b072f5d042 Implement lldiv and imaxdiv functions. Stephen Heumann 2021-02-05 18:11:37 -0600
  • d1d0358e4b Add 64-bit division routines. Stephen Heumann 2021-02-05 12:42:22 -0600
  • 2bb5361c24 Add a new file for 64-bit integer routines, initially with an unsigned multiply. Stephen Heumann 2021-02-04 23:58:54 -0600
  • 80dbf0c34c printf/scanf: Add 'P' conversion specifier as a synonym for 'b'. Stephen Heumann 2021-01-30 19:53:50 -0600
  • bd1e822a43 printf: In d/i/o/u/x/X conversions with a precision specified, the 0 flag should be ignored. Stephen Heumann 2021-01-30 17:51:55 -0600
  • 7c4141f03d printf: properly handle negative field width or precision arguments. Stephen Heumann 2021-01-30 16:54:54 -0600
  • 71a25f0fef printf: %#x or %#X conversions should not print the 0x/0X prefix if the value is 0. Stephen Heumann 2021-01-30 16:04:18 -0600
  • 37c38a7077 Add partial support for 64-bit 'long long' types in printf. Stephen Heumann 2021-01-30 14:35:22 -0600
  • 7566fffb6c Add readme describing GNO version of ORCALib. gno-orcalib-220b4 Stephen Heumann 2020-02-19 12:49:07 -0600
  • f906cac5f9 Update the version in the resource fork. Stephen Heumann 2020-02-19 12:47:16 -0600
  • 3145f4b023 Merge branch 'master' into gno-version. Stephen Heumann 2020-02-19 12:43:57 -0600
  • 97c3ecad73 ORCALib changes for GNO. Stephen Heumann 2020-02-18 23:29:40 -0600
  • e9de42d6c4 fopen: do not require read access when opening a file for append only. Stephen Heumann 2020-02-17 19:49:18 -0600
  • 717cf99071 Detect invalid base values in strtol and strtoul. Stephen Heumann 2020-02-17 17:37:59 -0600
  • e5360c9605 Spellcheck comments. Stephen Heumann 2020-02-16 13:29:53 -0600
  • 573bc6efa9 Use consistent indentation within files. Stephen Heumann 2020-02-16 13:28:18 -0600
  • 44dfc1d1d6 Prevent localtime() from potentially giving incorrect tm_isdst values. orcalib-220b4 Stephen Heumann 2020-02-02 12:51:58 -0600
  • 9af1c093cb Ensure tmpfile() doesn't access a file created by someone else. Stephen Heumann 2020-01-31 12:47:34 -0600
  • c439f2e3ea Make tmpnam() return the pointer passed to it, if non-null. Stephen Heumann 2020-01-31 12:45:02 -0600
  • 27a32d82bd Allow 'b' to come before '+' in freopen modes (e.g. "wb+"). Stephen Heumann 2020-01-30 21:16:48 -0600
  • c77c5927d9 Support "x" in fopen()/freopen() mode strings (C11). Stephen Heumann 2020-01-30 20:15:45 -0600
  • bd6d517854 Note that ~RemoveWord is used by scanf, not printf. Stephen Heumann 2020-01-30 18:51:59 -0600
  • 8490da9d85 Allow -2147483648 (LONG_MIN) as valid input to strtol(), not setting errno. Stephen Heumann 2020-01-24 12:25:01 -0600
  • 14554fcdc7 Make strtol() and strtoul() set the right end pointer in error cases. Stephen Heumann 2020-01-23 23:33:29 -0600
  • ebbb5b73ed Allow strtoul to take numbers with a minus sign. Stephen Heumann 2020-01-23 21:50:11 -0600
  • 599c1e3c7b Fix problem where strtol would accept invalid strings like "- +53". Stephen Heumann 2020-01-23 20:42:25 -0600
  • ee1b7e606d Implement quick_exit() and at_quick_exit() from C11. Stephen Heumann 2020-01-23 18:43:20 -0600
  • 07011e5b05 Fix issue causing potential stack corruption in scanf(). Stephen Heumann 2020-01-22 07:27:34 -0600
  • d89096236e Ensure that strtok returns NULL after reaching the end of the string. Stephen Heumann 2020-01-21 17:12:54 -0600
  • 887d66d537 Implement aligned_alloc function (C11). Stephen Heumann 2020-01-12 18:54:07 -0600
  • 571c601b66 strtoul: return 0 when given an empty string, as required by the C standards. Stephen Heumann 2019-06-09 19:12:51 -0500
  • 7a20f5f71d strtoul: don't try to parse initial '0x' as hex prefix unless base is 0 or 16. orcalib-220b3 Stephen Heumann 2018-09-13 02:23:21 -0500
  • 27fc6836cc Fix div() and ldiv() to return properly-signed remainders. Stephen Heumann 2018-09-10 17:09:28 -0500
  • efab82784d Add _Exit() function from C99. Stephen Heumann 2018-09-09 23:23:19 -0500
  • 24ec2ae9bc Fix perror() issues. Stephen Heumann 2018-09-09 21:43:14 -0500
  • 2be73c4e5d Make strerror() return a valid error string for unknown errno values. Stephen Heumann 2018-09-09 21:26:21 -0500
  • 2d20af84fd Fix support for 'h' length modifier in scanf. Stephen Heumann 2018-09-09 20:55:23 -0500
  • 57e8a686f8
    Merge pull request #29 from ksherlock/assert_ph2 MikeW50 2018-06-29 08:08:15 -0600
  • d600cd0b61 assert - use updated ph2/ph4 macros that support pei dp vs lda dp / pha. Kelvin Sherlock 2018-06-27 23:36:02 -0400