Skip to content

Instantly share code, notes, and snippets.

@sublee
Created November 2, 2014 13:38
Show Gist options
  • Save sublee/6266ae4e093bd1f866fa to your computer and use it in GitHub Desktop.
Save sublee/6266ae4e093bd1f866fa to your computer and use it in GitHub Desktop.
>>> a, b = -60.44590665056613, 89.04689154734581
>>> a + 1.0 * (b - a)
89.04689154734582
>>> a, b = 68.98093438784633, -77.63391120367295
>>> a + 1.0 * (b - a)
-77.63391120367294
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment