Adjust for MD-11 impl details
This commit is contained in:
@@ -23,11 +23,17 @@ int main() {
|
||||
std::cout << "CI (0 to 999)?: ";
|
||||
std::cin >> ci;
|
||||
|
||||
init_ci2mach_85();
|
||||
init_ci2mach_87();
|
||||
|
||||
auto start = std::chrono::high_resolution_clock::now();
|
||||
float aioMach = ci2mach(altitude, weight, tipTankPercent, ci);
|
||||
auto stop = std::chrono::high_resolution_clock::now();
|
||||
auto duration = std::chrono::duration_cast<std::chrono::nanoseconds>(stop - start);
|
||||
|
||||
cleanup_ci2mach_85();
|
||||
cleanup_ci2mach_87();
|
||||
|
||||
std::cout << "Mach for CI " << ci << ": " << aioMach << std::endl << std::endl;
|
||||
std::cout << "Took " << duration.count() << "ns" << std::endl ;
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user