salam 3alaikum - hope insha'Allah everyone is doing well. as you may have seen, i was writing a small front end tray app in gtk2 for prayer times. i am almost done with the development, but there is one odd problem that has me stumped... if i redo a calculation with the exact same inputs, i get different results for shuruq and maghrib. i've managed to isolate this problem to a simple test case main which i've attached -- oddly enough, when thamer compiled and ran it, he got the correct results, but i get different results between the first and second run. [the test main i've attached calls calculate twice -- i get different results from the second call than the first, but thamer gets the same results between the two]. thamer suggested i send the file to the list and see if anyone can tell me what i am doing wrong... i'd really appreciate any assistance anyone can give me in this matter. jazakumAllah khairan. walsalam 3alaikum, -ahmed -- ahmed el-helw <ahmedre at cc dot gatech dot edu>
Attachment:
testitl.tar.gz
Description: application/compressed-tar