Re: RoundEx without Banker's rounding




"Max" <nospam@xxxxxxxxxx> wrote
> Is it a case for Fastcode? I haven't seen it before.
> function RoundEx_drHalfPos(x: Extended): Integer;

Max,

Where does the "dr" in your drHalfPos come from?

If drHalfPos is done, then why not also the following?
drHalfNeg,
drHalfTowardZero,
drHalfAwayFromZero, and
drAwayFromZero

Regards, JohnH



.