math.inc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2000 by Jonas Maebe and other members of the
  4. Free Pascal development team
  5. Implementation of mathamatical 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. {$ifndef FPC_SYSTEM_HAS_ABS}
  13. {$define FPC_SYSTEM_HAS_ABS}
  14. function fpc_abs_real(d : valreal) : valreal;compilerproc;
  15. begin
  16. { Function is handled internal in the compiler }
  17. runerror(207);
  18. result:=0;
  19. end;
  20. {$endif}
  21. {$ifndef FPC_SYSTEM_HAS_SQR}
  22. {$define FPC_SYSTEM_HAS_SQR}
  23. function fpc_sqr_real(d : valreal) : valreal;compilerproc;
  24. begin
  25. { Function is handled internal in the compiler }
  26. runerror(207);
  27. result:=0;
  28. end;
  29. {$endif}
  30. {$ifndef FPC_SYSTEM_HAS_SQRT}
  31. {$define FPC_SYSTEM_HAS_SQRT}
  32. function fpc_sqrt_real(d : valreal) : valreal;compilerproc;
  33. begin
  34. { Function is handled internal in the compiler }
  35. runerror(207);
  36. result:=0;
  37. end;
  38. {$endif}