mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 03:59:28 +02:00
rtl/m68k: Added mathu(h).inc with dummy implementations of SetExceptionMask and GetExceptionMask
git-svn-id: trunk@22729 -
This commit is contained in:
parent
07c3cff61d
commit
6034866050
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -7935,6 +7935,8 @@ rtl/m68k/lowmath.inc svneol=native#text/plain
|
||||
rtl/m68k/m68k.inc svneol=native#text/plain
|
||||
rtl/m68k/makefile.cpu svneol=native#text/plain
|
||||
rtl/m68k/math.inc svneol=native#text/plain
|
||||
rtl/m68k/mathu.inc svneol=native#text/plain
|
||||
rtl/m68k/mathuh.inc svneol=native#text/plain
|
||||
rtl/m68k/readme -text
|
||||
rtl/m68k/set.inc svneol=native#text/plain
|
||||
rtl/m68k/setjump.inc svneol=native#text/plain
|
||||
|
26
rtl/m68k/mathu.inc
Normal file
26
rtl/m68k/mathu.inc
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
This file is part of the Free Pascal run time library.
|
||||
Copyright (c) 2012 by Sven Barth
|
||||
member of the Free Pascal development team
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the copyright.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
**********************************************************************}
|
||||
|
||||
{$warning TODO}
|
||||
|
||||
function GetExceptionMask: TFPUExceptionMask;
|
||||
begin
|
||||
Result := [];
|
||||
end;
|
||||
|
||||
function SetExceptionMask(const Mask: TFPUExceptionMask): TFPUExceptionMask;
|
||||
begin
|
||||
{ TODO }
|
||||
end;
|
||||
|
24
rtl/m68k/mathuh.inc
Normal file
24
rtl/m68k/mathuh.inc
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
This file is part of the Free Pascal run time library.
|
||||
Copyright (c) 2012 by Sven Barth
|
||||
member of the Free Pascal development team
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the copyright.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
**********************************************************************}
|
||||
|
||||
{$warning TODO}
|
||||
|
||||
type
|
||||
TFPUException = (exInvalidOp, exDenormalized, exZeroDivide,
|
||||
exOverflow, exUnderflow, exPrecision);
|
||||
TFPUExceptionMask = set of TFPUException;
|
||||
|
||||
function GetExceptionMask: TFPUExceptionMask;
|
||||
function SetExceptionMask(const Mask: TFPUExceptionMask): TFPUExceptionMask;
|
||||
|
Loading…
Reference in New Issue
Block a user