[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


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;};

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]