Minor fixes in math docs
This commit is contained in:
committed by
Space Team
parent
b8728c18cb
commit
77e03bb769
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user