groff
[Top][All Lists]
Advanced

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

Re: [Groff] Floating point arithmetic in groff


From: M Bianchi
Subject: Re: [Groff] Floating point arithmetic in groff
Date: Tue, 31 Jan 2006 07:55:28 -0500

On Tue, Jan 31, 2006 at 07:38:54AM +0100, Werner LEMBERG wrote:
> > Is anyone aware of a means by which floating point arithmetic and
> > formating can be computed either within groff or in a preprocessor
> > (ala eqn, tbl, etc.)?
> 
> Not that I know of.  Why do you need it?

I use  groff -mm  for all my documents, and sometimes have tables that are
        Quantity   Each   Total

and it would be nice to simply be able to use floating number registers to do
the arithmetic.

> A longer time ago I've
> written routines to handle double-precision integers, this is, doing
> 60bit integer arithmetic (see below), to be used in a.  Does this help?

I don't know.  I'll take a look.

-- 
 Mike Bianchi




reply via email to

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