MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #25275 All Revisions ] Back to Issue ]
Summary 0025275: Different result of reading operation from *.igs and *.stp file for WINDOWS and LINUX platforms
Revision 2014-12-12 16:31 by nbv
Additional information
and documentation updates
Just for the record:
According to information from here (http://ru.science.wikia.com/wiki/ASCII [^]), symbol SUB (ASCII-code 0x1A) is used for substituting lost or entering with mistake symbol. Now it is interpreted by DOS and WINDOWS (LINUX is not in this list) system as END OF FILE. Therefore, LINUX does not break reading.
Revision 2014-12-09 13:40 by nbv
Additional information
and documentation updates
Just for the record:
According to information from here (http://ru.science.wikia.com/wiki/ASCII [^]), symbol SUB (ASCII-code 0x1A) is used for substituting lost or entering with mistake symbol. Now it is interpreted by DOS and WINDOWS (LINUX is not in this list) system as END OF FILE. Therefore, LINUX does not break reading.

Validity of numbers read can be checked by _fpclass(...) function. Its code is shown there: http://www.jbox.dk/sanos/source/lib/math.c.html [^]

Function _fpclass(...) is standard for Visual Studio but it is not supported by Linux-translators. The author of notice (http://www.johndcook.com/blog/ieee_exceptions_in_cpp/ [^]) advises to use fp_class_d(...) function on LINUX platform. But it is not supported, too.
Revision 2014-12-09 13:33 by nbv
Additional information
and documentation updates
Just for the record:
According to information from here (http://ru.science.wikia.com/wiki/ASCII [^]), symbol SUB (ASCII-code 0x1A) is used for substituting lost or entering with mistake symbol. Now it is interpreted by DOS and WINDOWS (LINUX is not in this list) system as END OF FILE. Therefore, LINUX does not break reading.

Validity of numbers read can be checked by _fpclass(...) function. Its code is shown there: http://www.jbox.dk/sanos/source/lib/math.c.html [^]

Function _fpclass(...) is standard for Visual Studio but it is not supported by Linux-translators. The author of this notice advises to use fp_class_d(...) function on LINUX platform. But it is not supported, too.
Revision 2014-09-26 09:53 by nbv
Additional information
and documentation updates
Just for the record:
According to information from here (http://ru.science.wikia.com/wiki/ASCII [^]), symbol SUB (ASCII-code 0x1A) is used for substituting lost or entering with mistake symbol. Now it is interpreted by DOS and WINDOWS (LINUX is not in this list) system as END OF FILE. Therefore, LINUX does not break reading.


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker