Skip to content

Commit

Permalink
Normalize CM headers
Browse files Browse the repository at this point in the history
Remove non-ascii characters from cmtl.h.
Convert all line-endings to unix format.
  • Loading branch information
aus-intel committed Nov 18, 2020
1 parent 34ef8bd commit 7749ab9
Show file tree
Hide file tree
Showing 3 changed files with 11,660 additions and 11,660 deletions.
36 changes: 18 additions & 18 deletions cmfe/lib/Headers/cm/include/cm/cm_vs2013.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@
OTHER DEALINGS IN THE SOFTWARE.
======================= end_copyright_notice ==================================*/

#ifndef CM_VS2013_H
#define CM_VS2013_H

#if _MSC_VER >= 1800
// Workaround for VS2013 type traits - these are not supported by icl
// so we force them all to false here to allow them to appear without
// compiler errors being generated.
// Note: They should not be used as they are not actually implemented!
#define __is_nothrow_assignable(X,...) (false)
#define __is_nothrow_constructible(X,...) (false)
#define __is_nothrow_destructible(X,...) (false)
#define __is_constructible(X,...) (false)
#define __is_destructible(X,...) (false)
#define __is_trivially_assignable(X,...) (false)
#define __is_trivially_constructible(X,...) (false)
#endif

#endif /* CM_VS2013_H */
#ifndef CM_VS2013_H
#define CM_VS2013_H

#if _MSC_VER >= 1800
// Workaround for VS2013 type traits - these are not supported by icl
// so we force them all to false here to allow them to appear without
// compiler errors being generated.
// Note: They should not be used as they are not actually implemented!
#define __is_nothrow_assignable(X,...) (false)
#define __is_nothrow_constructible(X,...) (false)
#define __is_nothrow_destructible(X,...) (false)
#define __is_constructible(X,...) (false)
#define __is_destructible(X,...) (false)
#define __is_trivially_assignable(X,...) (false)
#define __is_trivially_constructible(X,...) (false)
#endif

#endif /* CM_VS2013_H */
4 changes: 2 additions & 2 deletions cmfe/lib/Headers/cm/include/cm/cmtl.h
Original file line number Diff line number Diff line change
Expand Up @@ -2420,8 +2420,8 @@ CM_INLINE vector<float, N> cm_tanh_cody_waite_impl(vector<float, N> x)
*
* rational polynomial for single precision = x + x * (g * (p(1) * g + p(0)) / (g + q(0))
* g = x^2
* p0 = 0.82377 28127 E+00
* p1 = 0.38310 10665 E-02
* p0 = -0.82377 28127 E+00
* p1 = -0.38310 10665 E-02
* q0 = 0.24713 19654 E+01
* q1 = 1.00000 00000 E+00
*
Expand Down
Loading

0 comments on commit 7749ab9

Please sign in to comment.