I had to brush up on my command-line parameters for cl, link, lib, and dumpbin today. It had been a little while since I had done this so I had to refresh my memory. The project dealt with a DLL generated by Delphi (the original source language was closest to Pascal/Delphi so I wrote a utility to convert Pascal rather than doing a massive conversion) and also generated C headers files and C unit test files at the same time. A while back they wanted a new DLL for a different project that used different functions from the original source....
I had a little fun with SQL Server last week trying to normalize a gas composition function that was returning a molar percentage of the gas. During testing we found several cases where the sum of the components did not add up to 100.0%. Of course due to floating point inaccuracies it is quite possible that rounding errors could also contribute to the issue. The values we were seeing were a couple of percentage points different and so we decided to normalize the data to ensure that it added up to 100.0%. At the same time, I rounded the components...