Re: Efficiency of math.h
From: Nick Landsberg (hukolau_at_NOSPAM.att.net)
Date: 02/26/04
- Next message: Mark McIntyre: "Re: [OT] Re: C dangerous?"
- Previous message: Christian Bau: "Re: Efficiency of math.h"
- In reply to: E. Robert Tisdale: "Re: Efficiency of math.h"
- Next in thread: Christian Bau: "Re: Efficiency of math.h"
- Reply: Christian Bau: "Re: Efficiency of math.h"
- Reply: E. Robert Tisdale: "Re: Efficiency of math.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 25 Feb 2004 23:17:20 GMT
E. Robert Tisdale wrote:
> Christian Bau wrote:
>
>> Since I have actually not used the acos() function _once_
>> in over twenty years of C programming,
>
>
> So... you're a newbie eh?
>
>> including tons of numerical mathematics, 3D graphics, etc.
>
>
> It appears in signal processing applications --
> a Dolph-Chebychev window function for example.
>
I think the point of Christian's posting was that
he would like more information from the OP why the
acos() function was called so often. If it is something
that requires high precision and MUST be called often
(as in a signal processing application), then it is
one thing.
If it does not require high precision or is used
gratuitously, there might be better ways
to accomplish the same thing. As one poster pointed
out, a rough extrapolation between values in a static
array may satisfy the requirement. Without knowing
the degree of precision needed, we just don't know.
-- Ñ "It is impossible to make anything foolproof because fools are so ingenious" - A. Bloch
- Next message: Mark McIntyre: "Re: [OT] Re: C dangerous?"
- Previous message: Christian Bau: "Re: Efficiency of math.h"
- In reply to: E. Robert Tisdale: "Re: Efficiency of math.h"
- Next in thread: Christian Bau: "Re: Efficiency of math.h"
- Reply: Christian Bau: "Re: Efficiency of math.h"
- Reply: E. Robert Tisdale: "Re: Efficiency of math.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]