A couple of operators for 'between, inclusive' and 'between, exclusive'.
10 people like thisPosted: 12 years ago by Kit Eason
This snippet based on Binet's formula combined with fast power algorithm. Four multiplications run in parallel, thus processor with four cores recommended. Bitwise operators improve divisions and multiplications by pow of 2.
0 people like thisPosted: 5 years ago by Pavel Tatarintsev
Given a location as a float tuple (latitude, longitude) it will return the plane closest nearby as a JsonValue using the OpenSky API. For fun also demonstrating some operator overloading with (-->) between two coordinates. I'm new to these functional languages, so please feel free to update the solution with interesting refactortings and whatnot.
4 people like thisPosted: 6 years ago by Johan Irvall