[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #18335] Addition of $(math ...) functions

From: Paul D. Smith
Subject: [bug #18335] Addition of $(math ...) functions
Date: Mon, 27 Nov 2006 14:16:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)

Follow-up Comment #3, bug #18335 (project make):

My intention was to leave the math functions to the Guile integration.  I'm
open to discussion on this point.

If we do decide to create a built-in math section for GNU make, I wouldn't
want to see it using the kind of Lisp-like syntax described by Dave.  While I
do agree that might be more consistent with make function style, I think it's
unnecessarily complicated for the user to have to write it out like that.  I
would prefer to see a new function $(expr ...) that takes a math expression
and evaluates to the result of the expression... similar to the way the
expr(1) program works in the shell.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]