|
@@ -15,6 +15,23 @@
|
|
|
|
|
|
{ declarations of the math routines }
|
|
|
|
|
|
+{$ifdef i386}
|
|
|
+ function abs(d : extended) : extended;
|
|
|
+ function arctan(d : extended) : extended;
|
|
|
+ function cos(d : extended) : extended;
|
|
|
+ function exp(d : extended) : extended;
|
|
|
+ function frac(d : extended) : extended;
|
|
|
+ function int(d : extended) : extended;
|
|
|
+ function ln(d : extended) : extended;
|
|
|
+ function pi : extended;
|
|
|
+ function round(d : extended) : longint;
|
|
|
+ function sin(d : extended) : extended;
|
|
|
+ function sqr(d : extended) : extended;
|
|
|
+ function sqrt(d : extended) : extended;
|
|
|
+ function trunc(d : extended) : longint;
|
|
|
+ function power(bas,expo : extended) : extended;
|
|
|
+ function power(bas,expo : longint) : longint;
|
|
|
+{$else i386}
|
|
|
function abs(d : real) : real;
|
|
|
function arctan(d : real) : real;
|
|
|
function cos(d : real) : real;
|
|
@@ -22,14 +39,16 @@
|
|
|
function frac(d : real) : real;
|
|
|
function int(d : real) : real;
|
|
|
function ln(d : real) : real;
|
|
|
- function pi : real;
|
|
|
function round(d : real) : longint;
|
|
|
function sin(d : real) : real;
|
|
|
function sqr(d : real) : real;
|
|
|
function sqrt(d : real) : real;
|
|
|
function trunc(d : real) : longint;
|
|
|
- function power(bas,expo : real) : real;
|
|
|
function power(bas,expo : longint) : longint;
|
|
|
+ function power(bas,expo : real) : real;
|
|
|
+ function pi : real;
|
|
|
+{$endif i386}
|
|
|
+
|
|
|
{$ifdef FIXED}
|
|
|
function sqrt(d : fixed) : fixed;
|
|
|
function Round(x: fixed): longint;
|
|
@@ -42,10 +61,12 @@
|
|
|
|
|
|
{
|
|
|
$Log$
|
|
|
- Revision 1.2 1998-05-12 10:42:45 peter
|
|
|
+ Revision 1.3 1998-08-08 12:28:11 florian
|
|
|
+ * a lot small fixes to the extended data type work
|
|
|
+
|
|
|
+ Revision 1.2 1998/05/12 10:42:45 peter
|
|
|
* moved getopts to inc/, all supported OS's need argc,argv exported
|
|
|
+ strpas, strlen are now exported in the systemunit
|
|
|
* removed logs
|
|
|
* removed $ifdef ver_above
|
|
|
-
|
|
|
}
|