math.inc 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 2003 by the Free Pascal development team.
  5. Implementation of mathematical Routines (only for real)
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. {$define FPC_SYSTEM_HAS_ABS}
  13. function abs(d : extended) : extended;[internproc:in_abs_extended];
  14. {$define FPC_SYSTEM_HAS_SQR}
  15. function sqr(d : extended) : extended;[internproc:in_sqr_extended];
  16. {$define FPC_SYSTEM_HAS_SQRT}
  17. function sqrt(d : extended) : extended;[internproc:in_sqrt_extended];
  18. {$define FPC_SYSTEM_HAS_ARCTAN}
  19. function arctan(d : extended) : extended;[internproc:in_arctan_extended];
  20. { lgn isn't supported by the linux fpe it seems
  21. {$define FPC_SYSTEM_HAS_LN}
  22. function ln(d : extended) : extended;[internproc:in_ln_extended];
  23. }
  24. {$define FPC_SYSTEM_HAS_SIN}
  25. function sin(d : extended) : extended;[internproc:in_sin_extended];
  26. {$define FPC_SYSTEM_HAS_COS}
  27. function cos(d : extended) : extended;[internproc:in_cos_extended];
  28. {
  29. $Log$
  30. Revision 1.4 2004-03-16 22:02:26 florian
  31. * disabled internal ln
  32. Revision 1.3 2004/01/27 15:04:49 florian
  33. * some math nodes are inlined now
  34. Revision 1.2 2003/09/03 14:09:37 florian
  35. * arm fixes to the common rtl code
  36. * some generic math code fixed
  37. * ...
  38. Revision 1.1 2003/08/21 16:41:54 florian
  39. * empty dummy files
  40. + [long|set]jmp implemented
  41. }