|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0792 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0792.
Report 0792 Actions
Problem Report Number 0792 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0307 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1997-09-11 08:00 Product Standard Commands and Utilities V2 (UNIX 95) Certification Program The Open Brand certification program Test Suite VSC version 5.0.0 Test Identification POSIX.cmd/awk 384 Problem Summary TSD4C.00204 This test may fail on implementations where INT_MAX is more than DBL_DIG digits in length since atof() cannot preserve more than DBL_DIG digits of precision. Problem Text
This test will fail on implementations where both an int and a double are
64-bits long. It is not possible to store a 64-bit INT_MAX or UINT_MAX in
a 64-bit double without losing precision. The description for awk states:
"A string value will be converted to a numeric value by the equivalent of
the following calls to functions defined by the ISO C standard:
setlocale(LC_NUMERIC, "");
numeric_value = atof(string_value);
Test Output
10|1 /tset/POSIX.cmd/awk/awk.sh 10:58:56|TC Start, scenario ref 2-1, ICs {384}
15|1 1.10 1|TCM Start
400|1 384 1 10:59:24|IC Start
200|1 1 10:59:24|TP Start
520|1 1 25434 1 1|Assertion #384 (A):
520|1 1 25434 1 11|TEST: printf < %d %d %d >
520|1 1 25434 1 12|Standard output isn't the same as file 'awk_eso_384'
520|1 1 25434 1 13|diff of "out.stdout" and "awk_eso_384":
520|1 1 25434 1 14|*** out.stdout Tue Sep 2 10:59:26 1997
520|1 1 25434 1 15|--- awk_eso_384 Tue Sep 2 10:59:25 1997
520|1 1 25434 1 16|***************
520|1 1 25434 1 17|*** 1 ****
520|1 1 25434 1 18|! < 1 0 -9223372036854775808 >
520|1 1 25434 1 19|--- 1 ----
520|1 1 25434 1 20|! < 1 0 9223372036854775807 >
520|1 1 25434 1 21|TEST: printf < %u %u %u >
520|1 1 25434 1 22|Standard output isn't the same as file 'awk_eso_384'
520|1 1 25434 1 23|diff of "out.stdout" and "awk_eso_384":
520|1 1 25434 1 24|*** out.stdout Tue Sep 2 10:59:30 1997
520|1 1 25434 1 25|--- awk_eso_384 Tue Sep 2 10:59:30 1997
520|1 1 25434 1 26|***************
520|1 1 25434 1 27|*** 1 ****
520|1 1 25434 1 28|! < 1 0 0 >
520|1 1 25434 1 29|--- 1 ----
520|1 1 25434 1 30|! < 1 0 18446744073709551615 >
220|1 1 1 10:59:34|FAIL
410|1 384 1 10:59:34|IC End
80|1 0 10:59:58|TC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 0792
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority