Closed ragnhmyr closed 7 months ago
Hi!
We have an ifc model with a property value of IFCINTEGER(-2147483649) which fails if the number is below -2147483648 (2^31) BIM viewers like BIM Collab ZOOM can read the model with no problems
IFCINTEGER(-2147483649)
The method that fails is IfcApi.getLine(modelId,60)
IfcApi.getLine(modelId,60)
where the line in the ifc is like:
#60= IFCPROPERTYSINGLEVALUE('FingerPrint',$,IFCINTEGER(-2147483649),$);
-2147483648 (2^31) works <= -2147483649 does not work
Assuming that it is due to IFCINTEGER being limited to a 32-bit signed integer
0.0.49
No response
stoi: out of range
Closed as fixed
What happened?
Hi!
We have an ifc model with a property value of
IFCINTEGER(-2147483649)
which fails if the number is below -2147483648 (2^31) BIM viewers like BIM Collab ZOOM can read the model with no problemsThe method that fails is
IfcApi.getLine(modelId,60)
where the line in the ifc is like:
#60= IFCPROPERTYSINGLEVALUE('FingerPrint',$,IFCINTEGER(-2147483649),$);
-2147483648 (2^31) works <= -2147483649 does not work
Assuming that it is due to IFCINTEGER being limited to a 32-bit signed integer
Version
0.0.49
What browsers are you seeing the problem on?
No response
Relevant log output
Anything else?
No response