[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build: calc.el
From: |
Lars Ingebrigtsen |
Subject: |
Re: Towards a cleaner build: calc.el |
Date: |
Sun, 16 Jun 2019 17:31:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
This one is really weird:
calc/calc.el:3928:1:Warning: the following functions are not known to be
defined: math-zerop, math-compare
I'm only getting this on one machine, but not the other. And calc has
this:
(declare-function math-compare "calc-ext" (a b))
(declare-function math-zerop "calc-misc" (a))
Hm... One machine compiles a lot faster than the other (and I'm
compiling with -j8), so perhaps there's some ordering issue here? There
are no calls to math-zerop at all directly in calc.el, but instead
there's the Math-zerop calls:
(and (Math-zerop a) (not (eq (car-safe a) 'mod))
(if (and (math-floatp a) (Math-ratp b)) (math-float b) b))
Which are defined in calc-macs, and look like:
;;; Faster in-line version zerop, normalized values only.
(defsubst Math-zerop (a) ; [P N]
(if (consp a)
(and (not (memq (car a) '(bigpos bigneg)))
(if (eq (car a) 'float)
(eq (nth 1 a) 0)
(math-zerop a)))
(eq a 0)))
Uhm...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Towards a cleaner build: feedmail, (continued)
- Re: Towards a cleaner build: feedmail, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: feedmail, Eli Zaretskii, 2019/06/15
- Re: Towards a cleaner build: feedmail, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: tags, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: srecode/insert, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: srecode/insert, Eric Ludlam, 2019/06/16
- Re: Towards a cleaner build: srecode/insert, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: tags, Dmitry Gutov, 2019/06/15
- Re: Towards a cleaner build: tags, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: select.el, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: calc.el,
Lars Ingebrigtsen <=
- Re: Towards a cleaner build: calc.el, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: calc.el, Noam Postavsky, 2019/06/16
- Re: Towards a cleaner build: calc.el, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: calc.el, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: calc.el, Stefan Monnier, 2019/06/16
- Re: Towards a cleaner build: calc.el, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: calc.el, Lars Ingebrigtsen, 2019/06/17
- Re: Towards a cleaner build: calc.el, Mattias EngdegÄrd, 2019/06/17
- Re: Towards a cleaner build: select.el, Eli Zaretskii, 2019/06/16
- Re: Towards a cleaner build: select.el, Lars Ingebrigtsen, 2019/06/16