aboutsummaryrefslogtreecommitdiff
path: root/src/cctk_Math.F90
diff options
context:
space:
mode:
authoreschnett <eschnett@51d2df92-0e4f-0410-a727-bd43d766d6b6>2012-10-28 20:15:05 +0000
committereschnett <eschnett@51d2df92-0e4f-0410-a727-bd43d766d6b6>2012-10-28 20:15:05 +0000
commit3aaecd38aaec72e5aafe182f4f48019410546d45 (patch)
tree79dd6a954d63a15d7f0a0b74c2493eb19f659057 /src/cctk_Math.F90
parent03dd2beeed34107e5268ac11241e3ae9f8b5d822 (diff)
Add interfaces for isnan etc.HEADsvnmaster
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Fortran/trunk@54 51d2df92-0e4f-0410-a727-bd43d766d6b6
Diffstat (limited to 'src/cctk_Math.F90')
-rw-r--r--src/cctk_Math.F9043
1 files changed, 43 insertions, 0 deletions
diff --git a/src/cctk_Math.F90 b/src/cctk_Math.F90
new file mode 100644
index 0000000..dff44b0
--- /dev/null
+++ b/src/cctk_Math.F90
@@ -0,0 +1,43 @@
+module cctk_Math
+ implicit none
+
+ interface
+
+ double precision function CCTK_copysign (x, y)
+ implicit none
+ double precision, intent(in) :: x, y
+ end function CCTK_copysign
+
+ integer function CCTK_fpclassify (x)
+ implicit none
+ double precision, intent(in) :: x
+ end function CCTK_fpclassify
+
+ integer function CCTK_isfinite (x)
+ implicit none
+ double precision, intent(in) :: x
+ end function CCTK_isfinite
+
+ integer function CCTK_isinf (x)
+ implicit none
+ double precision, intent(in) :: x
+ end function CCTK_isinf
+
+ integer function CCTK_isnan (x)
+ implicit none
+ double precision, intent(in) :: x
+ end function CCTK_isnan
+
+ integer function CCTK_isnormal (x)
+ implicit none
+ double precision, intent(in) :: x
+ end function CCTK_isnormal
+
+ integer function CCTK_signbit (x)
+ implicit none
+ double precision, intent(in) :: x
+ end function CCTK_signbit
+
+ end interface
+
+end module cctk_Math