1. Pypy
  2. Untitled project
  3. pypy

Commits

Armin Rigo  committed 8fdba9d

The "Signed *" declaration is not in sync with rdtoa.py

  • Participants
  • Parent commits 838ae93
  • Branches default

Comments (0)

Files changed (2)

File rpython/translator/c/src/dtoa.c

View file
  • Ignore whitespace
 
 static char *
 __Py_dg_dtoa(double dd, int mode, int ndigits,
-            Signed *decpt, Signed *sign, char **rve)
+             int *decpt, int *sign, char **rve)
 {
     /*  Arguments ndigits, decpt, sign are similar to those
         of ecvt and fcvt; trailing zeros are suppressed from
 }
 
 char * _PyPy_dg_dtoa(double dd, int mode, int ndigits,
-                   Signed *decpt, Signed *sign, char **rve)
+                     int *decpt, int *sign, char **rve)
 {
     char* result;
     _PyPy_SET_53BIT_PRECISION_HEADER;

File rpython/translator/c/src/dtoa.h

View file
  • Ignore whitespace
 
 double _PyPy_dg_strtod(const char *str, char **ptr);
 char * _PyPy_dg_dtoa(double d, int mode, int ndigits,
-		     Signed *decpt, Signed *sign, char **rve);
+		     int *decpt, int *sign, char **rve);
 void _PyPy_dg_freedtoa(char *s);