OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [stdlib/] [dtoastub.c] - Diff between revs 148 and 158

Only display areas with differences | Details | Blame | View Log

Rev 148 Rev 158
#include <_ansi.h>
#include <_ansi.h>
#include <stdlib.h>
#include <stdlib.h>
#include <reent.h>
#include <reent.h>
#include <string.h>
#include <string.h>
 
 
/* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this
/* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this
   is a safe way of providing it to the user. */
   is a safe way of providing it to the user. */
#ifndef NO_REENT
#ifndef NO_REENT
 
 
char *
char *
_DEFUN (__dtoa,
_DEFUN (__dtoa,
        (d, mode, ndigits, decpt, sign, rve),
        (d, mode, ndigits, decpt, sign, rve),
        double d _AND
        double d _AND
        int mode _AND
        int mode _AND
        int ndigits _AND
        int ndigits _AND
        int *decpt _AND
        int *decpt _AND
        int *sign _AND
        int *sign _AND
        char **rve)
        char **rve)
{
{
  return _dtoa_r (_REENT, d, mode, ndigits, decpt, sign, rve);
  return _dtoa_r (_REENT, d, mode, ndigits, decpt, sign, rve);
}
}
 
 
#endif
#endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.