Success: kde 3.1 cvs running on sgi IRIX!
Marc Mutz
Marc.Mutz at uni-bielefeld.de
Tue Aug 13 13:34:18 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 12 August 2002 12:03, Dominique Devriese wrote:
<snip>
> you can achieve the same effect by doing
> namespace std {
> extern "C" {
> #include "math.h"
> }
> }
<snip>
Sorry to come back again to this subject, but no, it's not the same as
#include <cmath>. The latter provides overloaded mathematical functions
for double, float and long double, where with math.h, you'll need to
either define them on your own or use foo, foof, fool.
Example: abs is overloaded to span fabs, fabsf, and fabsl.
Marc
- --
Mutig warf sich die kleine Überwachungskamera zwischen Täter Opfer!
--Rena Tangens / FoeBuD e.V.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9WPzK3oWD+L2/6DgRApIjAJ42Emk0KhH0kW40/exZQTJyL01hawCaAm9e
d5ldr2BDbxaIkRq4MS9CWGo=
=wKdz
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list