step-examples/12-1c-syntax/Ls008.stp
Sources
- A014
Description
`1.0E+999999` parsed via `strtod` yields `inf`; `NaN` results from malformed inputs. Geometry pipelines that compare via `<`/`>` then violate sort invariants in STL containers.
Reproducer recipe
`#1=CARTESIAN_POINT('',(1.0E+999999,0.,0.));`
Expected kernel behavior
Clamp magnitude or reject non-finite where geometry expects finite.
Notes
**See also**: Ad014. Synonyms: "1.0E+999999 overflows to infinity", "STEP REAL becomes inf", "NaN from STEP", "infinity in geometry pipeline", "non-finite REAL breaks sort". Provenance tier: bytes-only (Q5 full-corpus 2026-07-01).
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Provenance tier
bytes-only — defect not fully embodied in fixture bytes.
Byte assertions
contains(b'1.0E+999999') or contains(b'1.0E-999999')count(b'E+999999') + count(b'E-999999') >= 1
Tier-3 assertions
shape_null == True
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Ls008: Float literal with extreme exponent overflowing to non-finite real; 1.0E+999999 parsed via strtod yields IEEE 754 infinity; NaN results from malformed or indeterminate inputs; geometry pipelines that compare via less-than or greater-than then violate strict-weak-ordering invariants in STL containers; defect: CARTESIAN_POINT with 1.0E+999999 in the X coordinate â extreme positive exponent overflows to positive infinity; also DIRECTION uses 1.0E-999999 (underflow to zero) in the Y coordinate; conformant kernel must clamp magnitude or reject non-finite where geometry expects finite values; OCC silently accepts with no diagnostic and loads an empty result â receivers enforcing the spec must reject this fixture; synonyms: 1.0E+999999 overflows to infinity, STEP REAL becomes inf, NaN from STEP, infinity in geometry pipeline, non-finite REAL breaks sort; GEOMETRIC_CURVE_SET IS NOT used â CARTESIAN_POINT entity is the defect carrier */ 3HEADER; 4FILE_DESCRIPTION(('Ls008'),'2;1'); 5FILE_NAME('Ls008.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 7ENDSEC; 8DATA; 9/* Defect: extreme exponent causes overflow to IEEE 754 infinity. */ 10/* 1.0E+999999 -> +inf via strtod; violates geometry sort invariants. */ 11/* 1.0E-999999 -> 0.0 (underflow); second defect variant. */ 12#1=CARTESIAN_POINT('',(1.0E+999999,0.,0.)); 13#2=DIRECTION('',(0.,1.0E-999999,0.)); 14#3=VECTOR('v',#2,1.0E+999999); 15#4=LINE('l',#1,#3); 16ENDSEC; 17END-ISO-10303-21;