OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [stdlib/] [dtoastub.c] - Blame information for rev 1773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1010 ivang
#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 NO_REENT
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

powered by: WebSVN 2.1.0

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