Skip to content

Commit 7749ab9

Browse files
committed
Normalize CM headers
Remove non-ascii characters from cmtl.h. Convert all line-endings to unix format.
1 parent 34ef8bd commit 7749ab9

File tree

3 files changed

+11660
-11660
lines changed

3 files changed

+11660
-11660
lines changed

cmfe/lib/Headers/cm/include/cm/cm_vs2013.h

+18-18
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@
2222
OTHER DEALINGS IN THE SOFTWARE.
2323
======================= end_copyright_notice ==================================*/
2424

25-
#ifndef CM_VS2013_H
26-
#define CM_VS2013_H
27-
28-
#if _MSC_VER >= 1800
29-
// Workaround for VS2013 type traits - these are not supported by icl
30-
// so we force them all to false here to allow them to appear without
31-
// compiler errors being generated.
32-
// Note: They should not be used as they are not actually implemented!
33-
#define __is_nothrow_assignable(X,...) (false)
34-
#define __is_nothrow_constructible(X,...) (false)
35-
#define __is_nothrow_destructible(X,...) (false)
36-
#define __is_constructible(X,...) (false)
37-
#define __is_destructible(X,...) (false)
38-
#define __is_trivially_assignable(X,...) (false)
39-
#define __is_trivially_constructible(X,...) (false)
40-
#endif
41-
42-
#endif /* CM_VS2013_H */
25+
#ifndef CM_VS2013_H
26+
#define CM_VS2013_H
27+
28+
#if _MSC_VER >= 1800
29+
// Workaround for VS2013 type traits - these are not supported by icl
30+
// so we force them all to false here to allow them to appear without
31+
// compiler errors being generated.
32+
// Note: They should not be used as they are not actually implemented!
33+
#define __is_nothrow_assignable(X,...) (false)
34+
#define __is_nothrow_constructible(X,...) (false)
35+
#define __is_nothrow_destructible(X,...) (false)
36+
#define __is_constructible(X,...) (false)
37+
#define __is_destructible(X,...) (false)
38+
#define __is_trivially_assignable(X,...) (false)
39+
#define __is_trivially_constructible(X,...) (false)
40+
#endif
41+
42+
#endif /* CM_VS2013_H */

cmfe/lib/Headers/cm/include/cm/cmtl.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -2420,8 +2420,8 @@ CM_INLINE vector<float, N> cm_tanh_cody_waite_impl(vector<float, N> x)
24202420
*
24212421
* rational polynomial for single precision = x + x * (g * (p(1) * g + p(0)) / (g + q(0))
24222422
* g = x^2
2423-
* p0 = 0.82377 28127 E+00
2424-
* p1 = 0.38310 10665 E-02
2423+
* p0 = -0.82377 28127 E+00
2424+
* p1 = -0.38310 10665 E-02
24252425
* q0 = 0.24713 19654 E+01
24262426
* q1 = 1.00000 00000 E+00
24272427
*

0 commit comments

Comments
 (0)