1
//TODO: actually want a much larger integer supported, but any larger causes LLVM error
2
alias big_int : integer 128bit
4
@import("m.log") multi log : ( : abi_double ) -> ( : abi_double ) raw no_throw
6
defn log10 = ( x : float ) -> ( : float ) {
10
@export defn num_decimal_digits = ( x : big_int ) -> ( : integer ) {
11
var l = log10(lossy(x))