Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: (nearly) everything works on a Vaxstation 4000/90



On Mar 30,  5:20pm, mhitch%lightning.msu.montana.edu@localhost ("Michael L. 
Hitch") wrote:
-- Subject: Re: (nearly) everything works on a Vaxstation 4000/90

| On Mon, 30 Mar 2009, Christos Zoulas wrote:
| 
| >> i think the latter error is caused by gcc.
| >>
| >> double d = 1e50;
| >> is translated to:
| >> movd $0d+Inf,-12(%fp)
| >>
| >> i don't think, this is correct. Maybe instead of Inf something like
| >> DOUBLE_MAX should be used?
| >
| > 1e50 should definitely fit into a double... Something is fishy here.
| > I suspect the compiler.
| 
| #define DBL_MAX         1.701411834604692294E+38
| 
| How can 1e50 fit that?

Sorry I read wrong.

christos


Home | Main Index | Thread Index | Old Index