Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ MiphToKmph
Function
MiphToKmph
libs/platform/measurement_utils.hpp:36–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
return mi * 5280.0;
35
}
36
inline double MiphToKmph(double miph)
37
{
38
return MilesToMeters(miph) / 1000.0;
39
}
40
inline double KmphToMiph(double kmph)
41
{
42
return MetersToMiles(kmph * 1000.0);
Callers
2
ToSpeedKmPH
Function · 0.85
UNIT_TEST
Function · 0.85
Calls
1
MilesToMeters
Function · 0.85
Tested by
1
UNIT_TEST
Function · 0.68