{"action":"created","issue":{"url":"https://api.github.com/repos/proj4-bot/proj.4/issues/100","labels_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/100/comments","events_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/100/events","html_url":"https://github.com/proj4-bot/proj.4/issues/100","id":79092832,"number":100,"title":"stere projection produces wrong results on Win32 MSVC7","user":{"login":"proj4-bot","id":12542084,"avatar_url":"https://avatars.githubusercontent.com/u/12542084?v=3","gravatar_id":"","url":"https://api.github.com/users/proj4-bot","html_url":"https://github.com/proj4-bot","followers_url":"https://api.github.com/users/proj4-bot/followers","following_url":"https://api.github.com/users/proj4-bot/following{/other_user}","gists_url":"https://api.github.com/users/proj4-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/proj4-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proj4-bot/subscriptions","organizations_url":"https://api.github.com/users/proj4-bot/orgs","repos_url":"https://api.github.com/users/proj4-bot/repos","events_url":"https://api.github.com/users/proj4-bot/events{/privacy}","received_events_url":"https://api.github.com/users/proj4-bot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/C:%20BuildConfig","name":"C: BuildConfig","color":"0000aa"},{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/P:%20major","name":"P: major","color":"f6f6f6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-21T17:34:42Z","updated_at":"2015-05-21T17:34:44Z","closed_at":null,"body":"**Reported by warmerdam on 21 Aug 2008 17:26 UTC**\nUsing the supplied Makefile.vc, I did two builds for each version.  The \"release\" build uses the OPTFLAGS settings\r\nas distributed in the source, while the \"debug\" build swaps the OPTFLAGS to use the second set of settings (which is commented out in the sources).\r\n\r\nThe command:\r\n\r\necho 105 40 | proj +proj=stere +lat_0=90 +lon_0=0 +lat_ts=70 +datum=WGS84\r\n\r\nThe Results:\r\n\r\nFlavor 7 (debug): 5577808.93      1494569.40\r\nFlavor 7 (release): 5610189.12      1503245.64\r\nFlavor 8 (debug): 5577808.93      1494569.40\r\nFlavor 8 (release): 5577808.93      1494569.40\r\nFlavor 9 (debug): 5577808.93      1494569.40\r\nFlavor 9 (release): 5577808.93      1494569.40\r\n\r\nSo, we can see this is a direct result of doing an optimized build with Flavor 7 (Visual Studio .Net 2003). \r\n\r\nSo, then I downloaded and installed Service Pack 1 (http://www.microsoft.com/downloads/details.aspx?familyid=69d2219f-ce82-46a5-8aec-072bd4bb955e ) and rebuilt a \"release\" version.  The results were the same.\r\n\r\nThen, I added the \"/Op\" (Improve Float Consistency) flag and then the \"release\" results matched the \"debug\" results.\r\n\r\nOPTFLAGS=\t/nologo /Ox /Op /MD\r\n\r\nEric G. Miller\n\nMigrated-From: https://trac.osgeo.org/proj/ticket/12"},"comment":{"url":"https://api.github.com/repos/proj4-bot/proj.4/issues/comments/104366321","html_url":"https://github.com/proj4-bot/proj.4/issues/100#issuecomment-104366321","issue_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/100","id":104366321,"user":{"login":"proj4-bot","id":12542084,"avatar_url":"https://avatars.githubusercontent.com/u/12542084?v=3","gravatar_id":"","url":"https://api.github.com/users/proj4-bot","html_url":"https://github.com/proj4-bot","followers_url":"https://api.github.com/users/proj4-bot/followers","following_url":"https://api.github.com/users/proj4-bot/following{/other_user}","gists_url":"https://api.github.com/users/proj4-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/proj4-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proj4-bot/subscriptions","organizations_url":"https://api.github.com/users/proj4-bot/orgs","repos_url":"https://api.github.com/users/proj4-bot/repos","events_url":"https://api.github.com/users/proj4-bot/events{/privacy}","received_events_url":"https://api.github.com/users/proj4-bot/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T17:34:44Z","updated_at":"2015-05-21T17:34:44Z","body":"**Comment by warmerdam on 21 Aug 2008 19:49 UTC**\nI have modified nmake.opt to use /Op by default for optimized builds.  I also updated nad/testvarious to include a small test of stere projection though this test script does not actually work on win32 since it depends on bash.\r\n"}}