[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] TooN internal/builtin_typeof.h functions/fadbad.h
From: |
Gerhard Reitmayr |
Subject: |
[Toon-members] TooN internal/builtin_typeof.h functions/fadbad.h |
Date: |
Fri, 22 Apr 2011 21:05:23 +0000 |
CVSROOT: /cvsroot/toon
Module name: TooN
Changes by: Gerhard Reitmayr <gerhard> 11/04/22 21:05:23
Modified files:
internal : builtin_typeof.h
functions : fadbad.h
Log message:
fixes for builtin typeof with fadbad types
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/internal/builtin_typeof.h?cvsroot=toon&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/TooN/functions/fadbad.h?cvsroot=toon&r1=1.2&r2=1.3
Patches:
Index: internal/builtin_typeof.h
===================================================================
RCS file: /cvsroot/toon/TooN/internal/builtin_typeof.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- internal/builtin_typeof.h 17 Feb 2009 17:16:27 -0000 1.1
+++ internal/builtin_typeof.h 22 Apr 2011 21:05:22 -0000 1.2
@@ -16,3 +16,10 @@
template<> struct DeEnumerate<5>{typedef double type;};
template<> struct DeEnumerate<6>{typedef std::complex<float> type;};
template<> struct DeEnumerate<7>{typedef std::complex<double> type;};
+
+#ifdef _FADBAD_H
+Enumerate<8> enumerate(const ::fadbad::F<float>&);
+Enumerate<9> enumerate(const ::fadbad::F<double>&);
+template<> struct DeEnumerate<8>{typedef ::fadbad::F<float> type;};
+template<> struct DeEnumerate<9>{typedef ::fadbad::F<double> type;};
+#endif
Index: functions/fadbad.h
===================================================================
RCS file: /cvsroot/toon/TooN/functions/fadbad.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Toon-members] TooN internal/builtin_typeof.h functions/fadbad.h,
Gerhard Reitmayr <=