math.inc 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. {$define FPC_SYSTEM_HAS_LN}
  21. function ln(d : extended) : extended;[internproc:in_ln_extended];
  22. {$define FPC_SYSTEM_HAS_SIN}
  23. function sin(d : extended) : extended;[internproc:in_sin_extended];
  24. {$define FPC_SYSTEM_HAS_COS}
  25. function cos(d : extended) : extended;[internproc:in_cos_extended];
  26. {
  27. $Log$
  28. Revision 1.3 2004-01-27 15:04:49 florian
  29. * some math nodes are inlined now
  30. Revision 1.2 2003/09/03 14:09:37 florian
  31. * arm fixes to the common rtl code
  32. * some generic math code fixed
  33. * ...
  34. Revision 1.1 2003/08/21 16:41:54 florian
  35. * empty dummy files
  36. + [long|set]jmp implemented
  37. }