From 8e08bbf6bdab1c32193e67e387ed5ba3f9d8f3e1 Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Thu, 1 Mar 2018 14:30:33 +0300 Subject: [PATCH] [stdlib] Fix comments in kotlin.math --- runtime/src/main/cpp/KotlinMath.cpp | 2 +- runtime/src/main/cpp/KotlinMath.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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);