The Zip file https://www.dropbox.com/scl/fi/h5dv3i9a4rr5lvz15g4fs/xfzero.zip?rlkey=ot6eqa8xfth5j7ovokdcypmyo&dl=0 contains two source files. The driver, fztest.f90, is just
program tfztest
implicit none
integer iflag
real ae, b, c, re
external fzero
intrinsic tan
!
print *,' Fzero Quick Check'
re = 1.0E-6
ae = 1.0E-6
b = 3.0E0
c = 3.2E0
call fzero(tan,b,c,(b),re,ae,iflag) ! (b) avoids aliasing
if (iflag == 1) then
print '(1x,A,2F12.4,i4)','Zero of tan at ',b,c,iflag
else
print *,' Failure in Fzero, iflag = ',iflag
end if
end program tfztest
and the second file, fzero.f90, is a standard root-finder for a function of one variable. The program works as expected with 32-bit FTN95. With /64, however, an error occurs at link time:
R:\SLATEC\tests\t34>ftn95 /64 f*.f90
...
slink64 f*.obj /file:fztest
[SLINK64 v3.10, Copyright (c) Silverfrost Ltd. 2015-2023]
Loading R:\SLATEC\TESTS\T34\FZERO.OBJ
Loading R:\SLATEC\TESTS\T34\FZTEST.OBJ
Creating executable file fztest.exe
The following symbols were not defined:
TAN@