Date arithmetic in Unix shell scripts * Cinema Guy 16:24 Add Comment Edit Question I need to do date arithmetic in Unix shell scripts that I use to control the execution of third party programs. I'm using ... Read More
What does the term "BODMAS" mean? * Cinema Guy 07:54 Add Comment Edit Question What is BODMAS and why is it useful in programming? Answer http://www.easymaths.com/What_on_earth_is_Bodmas.htm : What do you... Read More
How to map a latitude/longitude to a distorted map? * Cinema Guy 21:55 Add Comment Edit Question I have a bunch of latitude/longitude pairs that map to known x/y coordinates on a (geographically distorted) map. Then I have ... Read More
A little diversion into floating point (im)precision, part 1 * Cinema Guy 23:21 Add Comment Edit Question Most mathematicians agree that: e πi + 1 = 0 However, most floating point implementations disagree. How well can we set... Read More
Solving a linear equation * Cinema Guy 11:14 Add Comment Edit Question I need to programmatically solve a system of linear equations in C, Objective C, or (if needed) C++. Here's an example of ... Read More