Re: LDBL_MAX -1.#QNAN0e+000 with MinGW?



On Nov 30, 6:25 pm, Martin Ambuhl <mamb...@xxxxxxxxxxxxx> wrote:
guig...@xxxxxxxxx wrote:

[...]

The LDBL_MAX of long double is machine-dependent, but why it like this
in same machine? I guess it's the problem with MinGW. Anyone hv any
idea?

No LDBL_MAX is implementation-dependent. That "implementation" is your
compiler, which may choose LDBL_MAX to be something completely
counter-intuitive if your intuition is based on the machine data
representation.

ok, got ur idea. thx :-)
.



Relevant Pages

  • Re: CPtrList - Please Help me understand
    ... object of type notice*, and you won't need to do casts at all. ... >Now although bp has a pointer to an object of type B (which we know because we created ... >compiler now happily does the assignment. ... >Generally, casting has no effect on the representation of a value, other than instructing ...
    (microsoft.public.vc.mfc)
  • Re: What I can to do with old PL/1 code?
    ... >> I have IBM Visual Age PL/1 compiler, ... > issues related to limitations on precision and representation of real ... > the same binary precision for all floating point numbers. ...
    (comp.lang.pl1)
  • Re: Trap Representations - c99 [again]
    ... This could happen through missing initialisation of an automatic ... changing the representation via overlaying an array of unsigned char, ... I.e., if an auto is explicitly initialised, it may *never* hold a trap value; no matter how it's been initialised - right? ... Building upon that, every C compiler I've ever used issues a warning along the lines of 'x' is not initialised before it is used - if such a diagnostic is *required* by the c99 standard, then traps should never occur - if of course you're paying attention to the warnings your compiler issues! ...
    (comp.lang.c)
  • Re: Cant read CString after serialization
    ... I insisted we have a textual representation of the data structures. ... I later wrote the same package for IDL when we were at ... Tartan Laboratories (a compiler company in Pittsburgh). ... David Lamb and John Nestor took ...
    (microsoft.public.vc.mfc)
  • Compiling Python24a3 in MinGW & tests
    ... MinGW (see: http://mail.python.org/pipermail/python-list/2004-June/225967.html, ... Python source of Sept, 9th, 2004) that was compiled in MinGW pass or ... MinGW compiler for use. ... and that some will actually help improve the pyMinGW patch so ...
    (comp.lang.python)