Function: math-freqp

math-freqp is a byte-compiled function defined in calc-units.el.gz.

Signature

(math-freqp FREQ)

Documentation

Non-nil if FREQ is a positive number times the unit Hz.

If non-nil, return the coefficient of Hz.

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-units.el.gz
(defun math-freqp (freq)
  "Non-nil if FREQ is a positive number times the unit Hz.
If non-nil, return the coefficient of Hz."
  (let ((freqcoef (math-simplify-units
                   (math-div freq '(var Hz var-Hz)))))
    (if (Math-posp freqcoef) freqcoef)))