File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,12 @@ class colvarmodule {
126126 return ::floor (static_cast <double >(x));
127127 }
128128
129+ // / Reimplemented to work around MS compiler issues
130+ static inline real ceil (real const &x)
131+ {
132+ return ::ceil (static_cast <double >(x));
133+ }
134+
129135 // / Reimplemented to work around MS compiler issues
130136 static inline real fabs (real const &x)
131137 {
@@ -195,6 +201,12 @@ static inline real acos(real const &x)
195201 return ::atan2 (static_cast <double >(x), static_cast <double >(y));
196202 }
197203
204+ // / Reimplemented to work around MS compiler issues
205+ static inline real tanh (real const &x)
206+ {
207+ return ::tanh (static_cast <double >(x));
208+ }
209+
198210 // / Reimplemented to work around MS compiler issues
199211 static inline real exp (real const &x)
200212 {
You can’t perform that action at this time.
0 commit comments