Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Log10 (0.07 sec)

  1. src/math/log10.go

    // license that can be found in the LICENSE file.
    
    package math
    
    // Log10 returns the decimal logarithm of x.
    // The special cases are the same as for [Log].
    func Log10(x float64) float64 {
    	if haveArchLog10 {
    		return archLog10(x)
    	}
    	return log10(x)
    }
    
    func log10(x float64) float64 {
    	return Log(x) * (1 / Ln10)
    }
    
    // Log2 returns the binary logarithm of x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 873 bytes
    - Viewed (0)
Back to top