File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ subroutine fptest6()
258258
259259 implicit none
260260
261- integer , parameter :: nfunc = 12
261+ integer , parameter :: nfunc = 14
262262 character (len=* ), dimension (nfunc), parameter :: func = [ ' -1.0*x ' , &
263263 ' -sqrt(x) ' , &
264264 ' a*COS(b*x)+5 ' , &
@@ -270,7 +270,9 @@ subroutine fptest6()
270270 ' tan(x) ' , &
271271 ' asin(y) ' , &
272272 ' acos(y) ' , &
273- ' atan(y) ' ]
273+ ' atan(y) ' , &
274+ ' -x**2 ' , &
275+ ' -x^2 ' ]
274276 integer , parameter :: nvar = 4
275277 character (len=* ), dimension (nvar), parameter :: var = [ ' x' , &
276278 ' a' , &
@@ -314,6 +316,8 @@ subroutine fptest6()
314316 call compare(func(10 ), asin (y), res(10 ))
315317 call compare(func(11 ), acos (y), res(11 ))
316318 call compare(func(12 ), atan (y), res(12 ))
319+ call compare(func(13 ), - x** 2 , res(13 ))
320+ call compare(func(13 ), - x** 2 , res(14 ))
317321 end if
318322
319323 end subroutine fptest6
You can’t perform that action at this time.
0 commit comments