help-octave
[Top][All Lists]
Advanced

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

Octave C++ libs ported to Borland C++ for OS/2


From: Alexey Goldin
Subject: Octave C++ libs ported to Borland C++ for OS/2
Date: Thu, 9 Nov 1995 13:18:47 -0600

Actually GCC has built in complex numbers:


#include <stdio.h>
void main()
{
  __complex__ double a = 0 +1.0fi;
  printf("i^2 = %g\n", __real__ (a*a));
}


But not g++, unfortunately...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]