#include <intrin.h>
Go to the source code of this file.
◆ sqrt()
Definition at line 5 of file sqrt.c.
7{
8 register union
9 {
10 __m128d x128d;
11 __m128i x128i;
13 register union
14 {
15 unsigned long long ullx;
16 double dbl;
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
35
36
38
39
40 if (
u2.ullx & 0x8000000000000000ULL)
41 {
42
43 if (
u2.ullx != 0x8000000000000000ULL)
44 {
45
46 u2.ullx = 0xfff8000000000000ULL;
47 }
48
49
51 }
52
53
54
55 if (
u2.ullx > 0x7FF0000000000000ULL)
56 {
57
58 u2.ullx |= 0x8000000000000ULL;
60 }
61
62
63#ifdef _MSC_VER
64
65
66
67
68
69
70
72#else
74#endif
75
76 return u.x128d.m128d_f64[0];
77}
__m128d _mm_set_sd(double w)
__m128d _mm_sqrt_sd(__m128d a, __m128d b)
__INTRIN_INLINE_SSE2 long long _mm_cvtsi128_si64(__m128i a)
__m128d _mm_sqrt_pd(__m128d a)
GLint GLint GLint GLint GLint x
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u