]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/strtoll.c
Added some functions.
[pdclib] / functions / stdlib / strtoll.c
index 80a8d176f524e2d06efa96a13c86205bd00d05dc..768da391ef3f75f08bc71d946f236325ec7e2875 100644 (file)
@@ -26,6 +26,7 @@ long long int strtoll( const char * s, char ** endptr, int base )
     else
     {
         /* FIXME: This breaks on some machines that round negatives wrongly */
+        /* FIXME: Sign error not caught by testdriver */
         rc = _PDCLIB_strtox_main( &p, (unsigned)base, (uintmax_t)LLONG_MIN, (uintmax_t)( LLONG_MIN / -base ), (uintmax_t)( -( LLONG_MIN % base ) ), &sign );
     }
     if ( endptr != NULL ) *endptr = ( p != NULL ) ? (char *) p : (char *) s;