ref: 9fb7f432edca0386a624f41b89e4c0115e6c36df
parent: a3872f05a1cf44bda67a8776f1d097bc61ae750d
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Sat Aug 24 10:08:08 EDT 2019
tests/float_short_test.c: Formatting
--- a/tests/float_short_test.c
+++ b/tests/float_short_test.c
@@ -46,13 +46,15 @@
{
static float fpos [] =
{ 0.95, 0.99, 1.0, 1.01, 1.1, 2.0, 11.1, 111.1, 2222.2, 33333.3,
- // Some "almost 1" as corner cases
- 32767./32768., (32767. + 0.4)/32768., (32767. + 0.5)/32768., (32767. + 0.6)/32768., (32767. + 0.9)/32768.,
+ // Some "almost 1" as corner cases
+ 32767.0 / 32768.0, (32767.0 + 0.4) / 32768.0, (32767. + 0.5) / 32768.0,
+ (32767.0 + 0.6) / 32768.0, (32767.0 + 0.9) / 32768.0,
} ;
static float fneg [] =
{ -0.95, -0.99, -1.0, -1.01, -1.1, -2.0, -11.1, -111.1, -2222.2, -33333.3,
- // Some "almost 1" as corner cases
- -32767./32768., -(32767. + 0.4)/32768., -(32767. + 0.5)/32768., -(32767. + 0.6)/32768., -(32767. + 0.9)/32768.,
+ // Some "almost 1" as corner cases
+ -32767.0 / 32768.0, -(32767.0 + 0.4) / 32768.0, -(32767.0 + 0.5) / 32768.0,
+ -(32767.0 + 0.6) / 32768.0, -(32767.0 + 0.9) / 32768.0,
} ;
static short out [MAX (ARRAY_LEN (fpos), ARRAY_LEN (fneg))] ;