MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / DecToDeg

Function DecToDeg

general.cpp:490–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488// and 30 minutes expressed as a floating point degree value.
489
490real DecToDeg(real d)
491{
492 return RSgn(d)*(RFloor(RAbs(d))+RFract(RAbs(d))*100.0/60.0);
493}
494
495
496// This is the inverse of the above function. Given a true decimal value for

Callers 1

FInputDataFunction · 0.85

Calls 1

RSgnFunction · 0.85

Tested by

no test coverage detected