mathu.inc 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2012 by Sven Barth
  4. member of the Free Pascal development team
  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. {$warning TODO}
  12. function GetExceptionMask: TFPUExceptionMask;
  13. begin
  14. Result := [];
  15. end;
  16. function SetExceptionMask(const Mask: TFPUExceptionMask): TFPUExceptionMask;
  17. begin
  18. { TODO }
  19. end;
  20. function GetRoundMode: TFPURoundingMode;
  21. begin
  22. Result:=rmNearest;
  23. end;
  24. function SetRoundMode(const RoundMode: TFPURoundingMode): TFPURoundingMode;
  25. begin
  26. Result:=rmNearest;
  27. end;
  28. function GetPrecisionMode: TFPUPrecisionMode;
  29. begin
  30. result:=pmDouble;
  31. end;
  32. function SetPrecisionMode(const Precision: TFPUPrecisionMode): TFPUPrecisionMode;
  33. begin
  34. result:=pmDouble;
  35. end;
  36. procedure ClearExceptions(RaisePending: Boolean);
  37. begin
  38. end;