Replace vera++ with clang-format (#4518)

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik robert.fancsik@h-lab.eu
This commit is contained in:
Robert Fancsik
2021-11-05 14:15:47 +01:00
committed by GitHub
parent bc091e1742
commit badfdf4dba
564 changed files with 10195 additions and 15090 deletions
+12 -13
View File
@@ -90,17 +90,17 @@
* See HP-15C Advanced Functions Handbook, p.193.
*/
#define zero 0.0
#define zero 0.0
#define ln2_hi 6.93147180369123816490e-01 /* 3fe62e42 fee00000 */
#define ln2_lo 1.90821492927058770002e-10 /* 3dea39ef 35793c76 */
#define two54 1.80143985094819840000e+16 /* 43500000 00000000 */
#define Lp1 6.666666666666735130e-01 /* 3FE55555 55555593 */
#define Lp2 3.999999999940941908e-01 /* 3FD99999 9997FA04 */
#define Lp3 2.857142874366239149e-01 /* 3FD24924 94229359 */
#define Lp4 2.222219843214978396e-01 /* 3FCC71C5 1D8E78AF */
#define Lp5 1.818357216161805012e-01 /* 3FC74664 96CB03DE */
#define Lp6 1.531383769920937332e-01 /* 3FC39A09 D078C69F */
#define Lp7 1.479819860511658591e-01 /* 3FC2F112 DF3E5244 */
#define two54 1.80143985094819840000e+16 /* 43500000 00000000 */
#define Lp1 6.666666666666735130e-01 /* 3FE55555 55555593 */
#define Lp2 3.999999999940941908e-01 /* 3FD99999 9997FA04 */
#define Lp3 2.857142874366239149e-01 /* 3FD24924 94229359 */
#define Lp4 2.222219843214978396e-01 /* 3FCC71C5 1D8E78AF */
#define Lp5 1.818357216161805012e-01 /* 3FC74664 96CB03DE */
#define Lp6 1.531383769920937332e-01 /* 3FC39A09 D078C69F */
#define Lp7 1.479819860511658591e-01 /* 3FC2F112 DF3E5244 */
double
log1p (double x)
@@ -131,8 +131,8 @@ log1p (double x)
}
}
if (ax < 0x3e200000)
{ /* |x| < 2**-29 */
if ((two54 + x > zero) /* raise inexact */
{ /* |x| < 2**-29 */
if ((two54 + x > zero) /* raise inexact */
&& (ax < 0x3c900000)) /* |x| < 2**-54 */
{
return x;
@@ -220,8 +220,7 @@ log1p (double x)
}
s = f / (2.0 + f);
z = s * s;
R = z * (Lp1 +
z * (Lp2 + z * (Lp3 + z * (Lp4 + z * (Lp5 + z * (Lp6 + z * Lp7))))));
R = z * (Lp1 + z * (Lp2 + z * (Lp3 + z * (Lp4 + z * (Lp5 + z * (Lp6 + z * Lp7))))));
if (k == 0)
{
return f - (hfsq - s * (hfsq + R));