Closed lukego closed 2 years ago
This branch adds the FUEL function that was originally hashed out in #93.
I'm finding this function useful and I found myself sharing code that depends on it so I decided to post it for consideration.
I've merged this with a tweak to signal an error in the (admittedly exotic) case where the fuel level is a large float and the consumption is a small float such that the fuel level remains unchanged.
Nifty!
This branch adds the FUEL function that was originally hashed out in #93.
I'm finding this function useful and I found myself sharing code that depends on it so I decided to post it for consideration.