math.inc 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2003 by the Free Pascal development team.
  4. Implementation of mathematical Routines (only for real)
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. {$define FPC_SYSTEM_HAS_ABS}
  12. function fpc_abs_real(d : extended) : extended;compilerproc;
  13. begin
  14. { Function is handled internal in the compiler }
  15. runerror(207);
  16. result:=0;
  17. end;
  18. {$define FPC_SYSTEM_HAS_SQR}
  19. function fpc_sqr_real(d : extended) : extended;compilerproc;
  20. begin
  21. { Function is handled internal in the compiler }
  22. runerror(207);
  23. result:=0;
  24. end;
  25. {$define FPC_SYSTEM_HAS_SQRT}
  26. function fpc_sqrt_real(d : extended) : extended;compilerproc;
  27. begin
  28. { Function is handled internal in the compiler }
  29. runerror(207);
  30. result:=0;
  31. end;
  32. { atn isn't supported by the linux fpe it seems
  33. {$define FPC_SYSTEM_HAS_ARCTAN}
  34. function fpc_arctan_real(d : extended) : extended;compilerproc;
  35. begin
  36. { Function is handled internal in the compiler }
  37. runerror(207);
  38. result:=0;
  39. end;
  40. }
  41. { lgn isn't supported by the linux fpe it seems
  42. {$define FPC_SYSTEM_HAS_LN}
  43. function fpc_ln_real(d : extended) : extended;compilerproc;
  44. begin
  45. { Function is handled internal in the compiler }
  46. runerror(207);
  47. result:=0;
  48. end;
  49. }
  50. { sind isn't supported by the linux fpe it seems
  51. {$define FPC_SYSTEM_HAS_SIN}
  52. function fpc_sin_real(d : extended) : extended;compilerproc;
  53. begin
  54. { Function is handled internal in the compiler }
  55. runerror(207);
  56. result:=0;
  57. end;
  58. }
  59. { cos isn't supported by the linux fpe it seems
  60. {$define FPC_SYSTEM_HAS_COS}
  61. function fpc_cos_real(d : extended) : extended;compilerproc;
  62. begin
  63. { Function is handled internal in the compiler }
  64. runerror(207);
  65. result:=0;
  66. end;
  67. }