MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #25602 All Revisions ] Back to Issue ]
Summary 0025602: Data Exchange - It is important for IGES and STEP file format to add check, if wrong data are read from the file
Revision 2014-12-12 16:32 by nbv
Additional information
and documentation updates
Just for the record:
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-12 16:29 by nbv
Additional information
and documentation updates
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.


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker