]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/strtoll.c
Extended test drivers to cover sign error.
[pdclib] / functions / stdlib / strtoll.c
index 13a1a1de6cf609b27784b0b1262dd9bb76102d8f..b4476915b0a6b7c29fff1c17a8d8fa694746d01f 100644 (file)
@@ -84,9 +84,9 @@ int main( void )
     endptr = NULL;
     TESTCASE( strtoll( overflow, &endptr, 0 ) == 0 );
     TESTCASE( endptr == overflow );
-    /* These tests assume two-complement, but conversion should work for   */
-    /* one-complement and signed magnitude just as well. Anyone having a   */
-    /* platform to test this on?                                           */
+    /* TODO: These tests assume two-complement, but conversion should work */
+    /* for one-complement and signed magnitude just as well. Anyone having */
+    /* a platform to test this on?                                         */
     errno = 0;
 #if LLONG_MAX == 0x7fffffffffffffffLL
     /* testing "even" overflow, i.e. base is power of two */