Boost logo

Boost :

From: Jonathan Adamczewski (jadamcze_at_[hidden])
Date: 2002-10-24 21:04:04


On Thu, 24 Oct 2002, Ken Hagan wrote:

> "Paul A. Bristow" <boost_at_[hidden]> wrote...
> >
> > So I would appreciate views (I have a zero expectation of any
> > consensus!!) on the relative attractiveness of two schemes:
>
> My brain tells me that pi_twice will scale better to more obscure
> constants, but "two_pi" is just the Right Thing in this case. There
> aren't many such cases. I don't think any other transcendentals are
> common enough in formulae to justify it.
>
> One small gripe. I would always say "pi_over_two", never "half pi".
> I know that "over" is an infix operator here, but should we bend the
> rules for simple fractions? It does still begin with "pi".
>

Or pi_on_two perhaps? (Shorter again and still quite clear)

Also, maybe neg_ is a better prefix than minus_ (negation is different to
minus is different to negative - at least in J ;)

jonathan.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk