avoid underflow/division by zero

This commit is contained in:
Martin Diehl 2020-11-11 20:57:17 +01:00
parent cd7ada0da9
commit 3d7aceb99b
1 changed files with 2 additions and 2 deletions

View File

@ -1200,8 +1200,8 @@ subroutine selfTest
if(any(dNeq(math_exp33(math_I3,0),math_I3))) &
error stop 'math_exp33(math_I3,1)'
if(any(dNeq(math_exp33(math_I3,256),exp(1.0_pReal)*math_I3))) &
error stop 'math_exp33(math_I3,256)'
if(any(dNeq(math_exp33(math_I3,128),exp(1.0_pReal)*math_I3))) &
error stop 'math_exp33(math_I3,128)'
call random_number(v9)
if(any(dNeq(math_33to9(math_9to33(v9)),v9))) &