tarantool / checkpatch

Checkpatch for Tarantool
GNU General Public License v2.0
2 stars 2 forks source link

Floating constant usage handled incorrectly #39

Closed CuriousGeorgiy closed 2 years ago

CuriousGeorgiy commented 2 years ago

Floating constant syntax allows expressions like -3.1708209046151947e-25, which are flagged as erroneous:

ERROR:SPACING: spaces needed around that '-' (ctx:VxV)
#1545: FILE: src/lib/salad/hll_empirical.c:143:
+   -3.1708209046151947e-25,
                        ^