Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. #include <_ansi.h>
  2. #include <stdlib.h>
  3. #include <reent.h>
  4. #include <string.h>
  5.  
  6. /* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this
  7.    is a safe way of providing it to the user. */
  8. #ifndef _REENT_ONLY
  9.  
  10. char *
  11. _DEFUN (__dtoa,
  12.         (d, mode, ndigits, decpt, sign, rve),
  13.         double d _AND
  14.         int mode _AND
  15.         int ndigits _AND
  16.         int *decpt _AND
  17.         int *sign _AND
  18.         char **rve)
  19. {
  20.   return _dtoa_r (_REENT, d, mode, ndigits, decpt, sign, rve);
  21. }
  22.  
  23. #endif
  24.