December 23, 2004 long doubles | ||||
---|---|---|---|---|
| ||||
1. Do all long double constants have to have an "L" suffix? 2. It appears that none of the rounding functions work on long doubles (rint, nearbyint, round, trunc, ...). |
December 27, 2004 Re: long doubles | ||||
---|---|---|---|---|
| ||||
Posted in reply to rvw | "rvw" <rvw_member@pathlink.com> wrote in message news:cqdsnt$22ui$1@digitaldaemon.com... > 1. Do all long double constants have to have an "L" suffix? Yes. > 2. It appears that none of the rounding functions work on long doubles (rint, > nearbyint, round, trunc, ...). They should. But you posted this in the DOS32 group - and long doubles in the DOS32 memory model are the same as 64 bit regular doubles. To use the full 80 bit long doubles, use the WIN32 memory model (which is the default). |
Copyright © 1999-2021 by the D Language Foundation