diff --git a/runtime/src/main/cpp/KotlinMath.cpp b/runtime/src/main/cpp/KotlinMath.cpp index b2edc827e0e..6346445edc0 100644 --- a/runtime/src/main/cpp/KotlinMath.cpp +++ b/runtime/src/main/cpp/KotlinMath.cpp @@ -34,7 +34,7 @@ #if KONAN_NEED_ASINH_ACOSH namespace { - // MinGW's implmenetation if asinh/acosh function returns NaN for large arguments so we use another implementation. + // MinGW's implmenetation of asinh/acosh function returns NaN for large arguments so we use another implementation. // Both implementations derived from boost special math functions and are also used by Kotlin/JVM. // Copyright Eric Ford & Hubert Holin 2001. diff --git a/runtime/src/main/cpp/KotlinMath.h b/runtime/src/main/cpp/KotlinMath.h index 2e052052a1a..3662a38f5c3 100644 --- a/runtime/src/main/cpp/KotlinMath.h +++ b/runtime/src/main/cpp/KotlinMath.h @@ -23,6 +23,8 @@ extern "C" { +// TODO: consider auto-generating this header file. + // Bridges for JS math. void knjs__Math_abs(KInt xUpper, KInt xLower); void knjs__Math_acos(KInt xUpper, KInt xLower);