- Dnumber_prototype_toExponential
void* Dnumber_prototype_toExponential(Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist)
Undocumented in source. Be warned that the author may not have intended to support it.
- Dnumber_prototype_toFixed
void* Dnumber_prototype_toFixed(Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist)
Undocumented in source. Be warned that the author may not have intended to support it.
- Dnumber_prototype_toLocaleString
void* Dnumber_prototype_toLocaleString(Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist)
Undocumented in source. Be warned that the author may not have intended to support it.
- Dnumber_prototype_toPrecision
void* Dnumber_prototype_toPrecision(Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist)
Undocumented in source. Be warned that the author may not have intended to support it.
- Dnumber_prototype_toString
void* Dnumber_prototype_toString(Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist)
Undocumented in source. Be warned that the author may not have intended to support it.
- Dnumber_prototype_valueOf
void* Dnumber_prototype_valueOf(Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist)
Undocumented in source. Be warned that the author may not have intended to support it.
- deconstruct_real
number_t deconstruct_real(d_number x, int f, int pe)
Let e and n be integers such that
10**f <= n < 10**(f+1) and for which the exact
mathematical value of n * 10**(e-f) - x is as close
to zero as possible. If there are two such sets of
e and n, pick the e and n for which n * 10**(e-f)
is larger.