fuookami.ospf.kotlin.utils.operator.Log.kt Maven / Gradle / Ivy
package fuookami.ospf.kotlin.utils.operator
interface Log {
fun log(base: Base): Ret?
fun lg(): Ret?
fun ln(): Ret?
}
fun log(base: Base, natural: Natural): Ret? where Natural : Log {
return natural.log(base)
}
fun lg(natural: Natural): Ret? where Natural : Log {
return natural.lg()
}
fun ln(natural: Natural): Ret? where Natural : Log {
return natural.ln()
}