1. 15 Apr, 2003 1 commit
    • Kevin Bracey's avatar
      * __assert2() added to support for C99 assert(), which displays function name. · f126a1ab
      Kevin Bracey authored
      * _Exit() added.
      * Lots of new <math.h> functions (acosh, asinh, atanh, exp2, expm1,
        ilogb, log1p, log2, logb, scalbn, scalbln, cbrt, erf, erfc,
        lgamma, tgamma, nexttoward, fmaf). Float and long double forms
        of every function added; long double forms are included as another
        library object in the stubs rather than the shared library, as they
        just branch to the double form.
      * Subnormal/NaN/infinity cases in various <math.h> functions improved.
      * Added <tgmath.h>.
      * Headers brought into line with CC 5.54.
      * RMEnsures added to C library initialisation to try to load minimum
        CallASWI, FPEmulator, CLib. No errors reported if load fails.
      * A few pointless inter-file dependencies removed to reduce minimum
        size of included ANSILib.
      
      Version 5.46. Tagged as 'RISC_OSLib-5_46'
      f126a1ab
  2. 10 May, 2001 1 commit
    • Stewart Brodie's avatar
      Fix for strxfrm() · 8159da18
      Stewart Brodie authored
      Detail:
        strxfrm was passing the buffers to the Territory module SWI the wrong
          way around so Territory_TransformString copied the destination over
          the source rather than vice versa!
      Admin:
        Reported by <mailto:ian.foster@gps.tandb.co.uk>
        Fixes Bugzilla bug #4375
      
      
      Version 5.33. Tagged as 'RISC_OSLib-5_33'
      8159da18
  3. 17 Apr, 2001 1 commit
  4. 11 Apr, 2001 1 commit
    • Stewart Brodie's avatar
      strcmp() fix was broken. · 534e1478
      Stewart Brodie authored
      Detail:
        This alternate implementation returned non-zero for equal strings,
          because the tidyup routine failed to stop examining the differing
          words when it found matching zero bytes.
      Admin:
        Tested in softload C library, and in Lazarus ROM image.  strcmp()
          appears to be working per spec now.
      
      Version 5.31. Tagged as 'RISC_OSLib-5_31'
      534e1478
  5. 06 Apr, 2001 1 commit
    • Stewart Brodie's avatar
      Fix for strcmp(). · 9d5bf66a
      Stewart Brodie authored
        Fix for RISC_OSLib res() function.
      Detail:
        Version 4.89 featured an improved strcmp() routine that didn't actually
          work properly (bug #4085).  The return values had the wrong sign if this
          optimised code was used and the string contained top-bit set chars.
        Removed that rlib.s.asmdefs hack as the comment in the makefile suggested.
          Nothing needs it any more as the assembler sources that require it now
          get via a -PD argument.
        res_ prefix function was still wrong as it failed to detect valid but wrong
          filenames, hence the "Make$Path not defined" errors in the latest tools
          release.
      Admin:
        Fixes Bugzilla bug #4085
        Should fix BaseSW's build problems too.
      
      Version 5.29. Tagged as 'RISC_OSLib-5_29'
      9d5bf66a
  6. 02 Oct, 2000 1 commit
  7. 22 Sep, 1999 1 commit
    • Stewart Brodie's avatar
      Fix for strcoll · e6cf1730
      Stewart Brodie authored
      Detail:
        Somebody had modified the SWI call to Territory_Collate to be done
          via _swix instead of _kernel_swi, but didn't remove the _kernel_swi_regs
          variable (r) and didn't change the function return value to return the
          new "ret" variable instead of r.r[0] which gives arbitrary results - in
          particular it confuses qsort.
      Admin:
        Tested that it builds.
      
      Version 4.97. Tagged as 'RISC_OSLib-4_97'
      e6cf1730
  8. 01 Oct, 1998 1 commit
    • Kevin Bracey's avatar
      Ursula branch merged. · 9081a0dc
      Kevin Bracey authored
      StrongARMfudge flag removed.
      StrongARM compatibility set according to AMBKernel flag in Hdr:RISCOS
      strftime %U and %W specifiers fixed for week 0.
      
      Version 4.89. Tagged as 'RISC_OSLib-4_89'
      9081a0dc
  9. 05 Nov, 1996 1 commit