Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | deg_to_str(): Add some more tests to check for LSBs. | Gary E. Miller | 2019-02-23 | 1 | -0/+24 |
| | |||||
* | deg_to_str(): Change 'nan' to 'n/a'. | Gary E. Miller | 2019-02-22 | 1 | -18/+18 |
| | | | | To be compatible with existing cgps, etc. | ||||
* | deg_to_str2(): Add new function. Thread safe, handles suffix. | Gary E. Miller | 2019-02-22 | 1 | -28/+92 |
| | |||||
* | deg_to_s(): Add check, and regression test, for not a NaN. | Gary E. Miller | 2019-02-22 | 1 | -2/+15 |
| | |||||
* | deg_to_s() and calls to it: Allow negative degrees, use fabs(). | Gary E. Miller | 2019-02-22 | 1 | -5/+17 |
| | | | | | Every call to deg_to_s() was preceded by a fabs(deg). So move the fabs() into deg_to_s(). | ||||
* | deg_to_s(): Add rounding for dd, ddmm, and ddmmss. Update tests. | Gary E. Miller | 2019-02-22 | 1 | -26/+44 |
| | |||||
* | deg_to_s(): Add more tests. Not all 'good'. | Gary E. Miller | 2019-02-21 | 1 | -3/+26 |
| | | | | deg_to_s() needs to do better rounding. | ||||
* | deg_to_s(): Fix bad conversion. Add test cases. | Gary E. Miller | 2019-02-21 | 1 | -0/+98 |
Bug and test case by: Stephen Moshier <steve@moshier.net> |