Minor fixes in math docs

This commit is contained in:
Ilya Gorbunov
2022-11-18 14:57:56 +01:00
committed by Space Team
parent b8728c18cb
commit 77e03bb769
4 changed files with 31 additions and 21 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package kotlin.math
@@ -808,7 +808,7 @@ public actual inline fun log10(x: Float): Float = nativeLog10(x.toDouble()).toFl
public actual inline fun log2(x: Float): Float = nativeLog2(x.toDouble()).toFloat()
/**
* Computes `ln(a + 1)`.
* Computes `ln(x + 1)`.
*
* This function can be implemented to produce more precise result for [x] near zero.
*