Function: math-nth-root-float

math-nth-root-float is a byte-compiled function defined in calc-math.el.gz.

Signature

(math-nth-root-float A NRF-N &optional GUESS)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-math.el.gz
(defun math-nth-root-float (a nrf-n &optional guess)
  (math-inexact-result)
  (math-with-extra-prec 1
    (let ((math-nrf-nf (math-float nrf-n))
	  (math-nrf-nfm1 (math-float (1- nrf-n))))
      (math-nth-root-float-iter a (or guess
				      (math-make-float
				       1 (/ (+ (math-numdigs (nth 1 a))
					       (nth 2 a)
					       (/ math-nrf-n 2))
					    math-nrf-n)))))))