Skip to content
Snippets Groups Projects
Commit e4fea156 authored by Stéphane Albert's avatar Stéphane Albert
Browse files

ENH: Added assert( !isnan( double ) ) in ToQString() (see MANTIS-991).

parent 27ad2399
Branches
Tags
No related merge requests found
......@@ -555,6 +555,8 @@ inline
QString
ToQString< float >( const float& val )
{
assert( !std::isnan( val ) );
QString valf;
// See IEEE-754
......@@ -590,6 +592,8 @@ inline
QString
ToQString< double >( const double& val )
{
assert( !std::isnan( val ) );
QString vald;
// See IEEE-754
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment