LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Finding GNU G++ counterparts of math.hpp (https://www.linuxquestions.org/questions/programming-9/finding-gnu-g-counterparts-of-math-hpp-429551/)

lucky6969b 03-29-2006 02:32 AM

Finding GNU G++ counterparts of math.hpp
 
Hi,
I am porting a windows app written in BCB to Linux running GNU G++, there is a header file in vcl which is called math.hpp and providing the isNAN() function, so what is the closest "matchup" in GNU G++ to that file? (so I meant programmatically), not a hit in google
Thanks
Jack

lucky6969b 03-29-2006 02:53 AM

I found the declaration of NAN, it is 0.0/0.0
I am scared that this will blow up at runtime, or will it?
I found the encoding scheme for NAN on Intel machines. But I don't really want to use it... it is very specific to Intel machines only
Thanks
Jack

addy86 03-29-2006 03:03 AM

Try
man isnan

lucky6969b 03-29-2006 03:38 AM

Not there :). But I have found a replacement from ieee (Utah university)...
Thanks anyway
Jack

lucky6969b 03-29-2006 03:46 AM

I have a public replacement from Utah
For anybody Watching this thread, Thanks for looking anyway :)
Thanks
Jack

lucky6969b 03-29-2006 03:59 AM

Where should you normally look when you come across a derivation like
class a : public TForm
{
};
to Linux GNU G++
Is there a good book or any links?
Thanks
Jack

ta0kira 03-29-2006 12:25 PM

gcc doesn't have GUI forms; it has the standard stuff, plus POSIX libraries. You'll need something like Qt, GTK, or OpenGL to make GUIs. Each have their own documentation and tutorials.
ta0kira


All times are GMT -5. The time now is 08:27 PM.