File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -490,9 +490,9 @@ bool Decimal64::isInf() const
490490 case DEC_CLASS_NEG_INF:
491491 case DEC_CLASS_POS_INF:
492492 return true ;
493+ default :
494+ return false ;
493495 }
494-
495- return false ;
496496}
497497
498498bool Decimal64::isNan () const
@@ -502,9 +502,9 @@ bool Decimal64::isNan() const
502502 case DEC_CLASS_SNAN:
503503 case DEC_CLASS_QNAN:
504504 return true ;
505+ default :
506+ return false ;
505507 }
506-
507- return false ;
508508}
509509
510510int Decimal64::sign () const
@@ -833,9 +833,9 @@ bool Decimal128::isInf() const
833833 case DEC_CLASS_NEG_INF:
834834 case DEC_CLASS_POS_INF:
835835 return true ;
836+ default :
837+ return false ;
836838 }
837-
838- return false ;
839839}
840840
841841bool Decimal128::isNan () const
@@ -845,9 +845,9 @@ bool Decimal128::isNan() const
845845 case DEC_CLASS_SNAN:
846846 case DEC_CLASS_QNAN:
847847 return true ;
848+ default :
849+ return false ;
848850 }
849-
850- return false ;
851851}
852852
853853int Decimal128::sign () const
You can’t perform that action at this time.
0 commit comments