?

Log in

No account? Create an account
Wizard question - dmv/blogs/lj

> Recent Entries
> Archive
> Friends
> Profile
> dmv/index

Links
dmv/index

Alt. Info Streams
Twitter
Memestream
Flickr Stream

August 7th, 2002


Previous Entry Share Next Entry
01:43 pm - Wizard question
In C++

Our floating point library needs a value for inf and -inf. Presently, this was done by

min_real_val = -1.0 / 0.0;

and the obvious counter to that. This causes the compiler (our compiler, even) to complain... but it works (I believe). Is there a better way to get these values?

(12 comments | Leave a comment)

Comments:


[User Picture]
From:skamille
Date:August 7th, 2002 02:12 pm (UTC)

Re: More Monkeys!

(Link)
Ah, I didn't know you were doing Itanium stuff. I am stuck in itanium hell. Heeelllllllll.
[User Picture]
From:daemonv
Date:August 7th, 2002 07:12 pm (UTC)

Re: More Monkeys!

(Link)
Yes. The compiler I am modifying (Open64) is SGI's internal compiler which had the GCC frontend added, open sourced, and retargeted to ia64. While it is fun to have an account on an actual ia64 machine (the emulators suck) -- and it is amusing to have first person anectodal stories about how bad the ia32 emulation is -- it is not all fun.

> Go to Top
LiveJournal.com