[Top][All Lists]

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

defining "constants" in calc

From: Benjamin Slade
Subject: defining "constants" in calc
Date: Sat, 25 Jun 2011 16:39:34 -0500

I'm trying to get my head round using calc-based functions. If I want to define a constant, using higher precision than what normal Emacs Lisp allows, how can I do this using calc?

I was trying to use this:

(defmath my-calc-func
  (exp "365 + 279457:1080000"))

[Intended to mean: define a constant whose value is: (365 + (279457/1080000)).]

Benjamin Slade
Dept. of Linguistics
University of Illinois at Urbana-Champaign                 
[ ]                        
Stæfcræft & Vyākaraṇa (lingblog) -
The Babbage Files (techblog) -

  रो ऽक्ष॑कामा हि देवाः
    'The gods love the obscure.' (Śatapathabrāmaṇa

reply via email to

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