FastLog

sealed trait FastLog

Implementation of the ICSILog algorithm as described in O. Vinyals, G. Friedland, N. Mirghafori "Revisiting a basic function on current CPUs: A fast logarithm implementation with adjustable accuracy" (2007).

Implementation of the ICSILog algorithm as described in O. Vinyals, G. Friedland, N. Mirghafori "Revisiting a basic function on current CPUs: A fast logarithm implementation with adjustable accuracy" (2007).

See also

java.lang.Double#floatToRawIntBits( float )

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def base: Double
def calc(arg: Double): Double

Calculate the logarithm to the base given in the constructor.

Calculate the logarithm to the base given in the constructor.

Value Params
arg

the argument. must be positive!

Returns

log( x )

def q: Int