[*] (todo port) Dont forget these should be upcasted to doubles

This commit is contained in:
Reece Wilson 2023-11-29 07:12:25 +00:00
parent 22f2e73954
commit de6b9d0bcb

View File

@ -22,7 +22,7 @@
{ {
mach_timebase_info_data_t timebase; mach_timebase_info_data_t timebase;
mach_timebase_info(&timebase); mach_timebase_info(&timebase);
uFrequency = (timebase.denom * 1'000'000'000.0) / timebase.numer; uFrequency = (double(timebase.denom) * 1'000'000'000.0) / double(timebase.numer);
}); });
return uFrequency; return uFrequency;
} }