We will cross that bridge when we come to it.
authorsolar <solar@546481bc-9713-0410-bf18-d3337bbf4a3e>
Sat, 11 Dec 2010 09:14:39 +0000 (09:14 +0000)
committersolar <solar@546481bc-9713-0410-bf18-d3337bbf4a3e>
Sat, 11 Dec 2010 09:14:39 +0000 (09:14 +0000)
git-svn-id: https://srv7.svn-repos.de/dev34/pdclib/trunk@489 546481bc-9713-0410-bf18-d3337bbf4a3e

functions/inttypes/strtoimax.c
functions/stdlib/strtol.c
functions/stdlib/strtoll.c

index 2d0fdf77c27e6500afa4465b36d7fedce88e202a..5bd7ec6daee1b2e4298cec5bf77522b667ad4b11 100644 (file)
@@ -25,7 +25,6 @@ intmax_t strtoimax( const char * _PDCLIB_restrict nptr, char ** _PDCLIB_restrict
     }
     else
     {
-        /* FIXME: This breaks on some machines that round negatives wrongly */
         rc = (intmax_t)_PDCLIB_strtox_main( &p, (unsigned)base, (uintmax_t)INTMAX_MIN, (uintmax_t)( INTMAX_MIN / -base ), (int)( -( INTMAX_MIN % base ) ), &sign );
     }
     if ( endptr != NULL ) *endptr = ( p != NULL ) ? (char *) p : (char *) nptr;
index dce035ea1f9bd8a254b36ce9cde74f4e18bbcb63..367b6789fdd44e75d53f048be3a17b3741951ad2 100644 (file)
@@ -25,7 +25,6 @@ long int strtol( const char * s, char ** endptr, int base )
     }
     else
     {
-        /* FIXME: This breaks on some machines that round negatives wrongly */
         rc = (long int)_PDCLIB_strtox_main( &p, (unsigned)base, (uintmax_t)LONG_MIN, (uintmax_t)( LONG_MIN / -base ), (int)( -( LONG_MIN % base ) ), &sign );
     }
     if ( endptr != NULL ) *endptr = ( p != NULL ) ? (char *) p : (char *) s;
index 41640a159e074a632540410f805a1b72026bf2a5..bc952c7fd1fe4a9130c32cbd1a3e7632e495bd37 100644 (file)
@@ -25,7 +25,6 @@ long long int strtoll( const char * s, char ** endptr, int base )
     }
     else
     {
-        /* FIXME: This breaks on some machines that round negatives wrongly */
         rc = (long long int)_PDCLIB_strtox_main( &p, (unsigned)base, (uintmax_t)LLONG_MIN, (uintmax_t)( LLONG_MIN / -base ), (int)( -( LLONG_MIN % base ) ), &sign );
     }
     if ( endptr != NULL ) *endptr = ( p != NULL ) ? (char *) p : (char *) s;