I haven’t seen these two functions among the proposed additions for Math 
(should these be in a math module?):

    function nthRoot(n, x) {
        return Math.pow(x, 1/n);
    }

    function log_b(b, x) {
        return Math.log(x) / Math.log(b);
    }

Have they been considered and rejected?

Axel

-- 
Dr. Axel Rauschmayer
[email protected]

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com



_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to