![]() !Summary: find positive root of tanh(C) using Secant method I have also tried testing the difference against my 'zero' parameter, same result. IE the If condition doesn't pick it up, but the calculation after that does and divides by 0. īut whenever tanh(SthisX) becomes the same value as tanh(SlastX), (both =1.000E0) the program crashes with an overflow - AFTER the if condition. Should be easy to manage that, right? But all my comparisons don't work, see code below for the latest try. I have a short Fortran 95 program which hits an overflow because 2 variables get the same value at one point. Hi - new to silverfrost and also learning FORTRAN. Posted: Wed 10:40 pm Post subject: real compare should work but doesn't ![]() Profile Log in to check your private messages Log in :: View topic - real compare should work but doesn'tįAQ Search Memberlist Usergroups Register
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |