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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [bootloaders/] [orpmon/] [common/] [cprintf.c] - Diff between revs 175 and 355

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 175 Rev 355
Line 173... Line 173...
#endif
#endif
 
 
#include <stdarg.h>
#include <stdarg.h>
 
 
#ifdef FLOATING_POINT
#ifdef FLOATING_POINT
#include <locale.h>
//#include <locale.h>
#include <math.h>
//#include <math.h>
#include "floatio.h"
//#include "floatio.h"
 
 
#define BUF             (MAXEXP+MAXFRACT+1)     /* + decimal point */
#define BUF             (MAXEXP+MAXFRACT+1)     /* + decimal point */
#define DEFPREC         6
#define DEFPREC         6
 
 
static char *cvt _PARAMS((struct _reent *, double, int, int, char *, int *, int, int *));
static char *cvt _PARAMS((struct _reent *, double, int, int, char *, int *, int, int *));

powered by: WebSVN 2.1.0

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