|
Boost : |
From: Paul A. Bristow (boost_at_[hidden])
Date: 2001-10-30 07:53:16
> -----Original Message-----
> From: Deane_Yang_at_[hidden] [mailto:Deane_Yang_at_[hidden]]
> Sent: Monday, October 29, 2001 5:27 PM
> To: boost_at_[hidden]
> Subject: [boost] Re: Math constants - naming convention?
>
> I'm impressed. I thought it would be really hard to come up with
> good names, but I think these are pretty good suggestions.
>
> I would however vote for no numerals, no abbreviations, and all words.
I started off using all words, but I concluded eventually that
sometimes using some numbers is actually clearer.
> I'm also curious. Is sin 1 an interesting constant? Why?
> Deane
Not very!
But John F Hart in Computer Approximations, Appendix, pages 334-5 lists
about 20 constants used in his algorithms for math functions that are trig.
I was just trying to Keep It Simple Sir!
Paul
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk