Yes, and yes.
But forming the number is an 'extra' call to ldexp. :-)
At 10:30 AM 4/29/2013, Raymond Toy wrote:
>>>>>> "Henry" == Henry Baker <hbaker1 at pipeline.com> writes:
>
> Henry> You're most likely correct, although even _forming_ the
> Henry> appropriate fp# to multiply by may be more expensive than
> Henry> simply doing ldexp; of course, this cost is amortized over
> Henry> the entire row/column.
>
>Wouldn't computing 2^k be exactly one call to ldexp? Or do you mean
>figuring out what k to use?
>
>Ray