tesseract/src
Stefan Weil b26866bb3b intproto: Use more efficient float calculations for floor
This fixes warnings from LGTM:

Multiplication result may overflow 'float' before it is converted
to 'double'.

While the floor function always calculates with double, here the
overloaded std::floor can be used to handle the float arguments
more efficiently.

Replace also old C++ type casts by static_cast.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-06 18:29:38 +02:00
..
api Fix use of wrong UNICHARSET 2018-10-06 13:21:09 +02:00
arch add header guard 2018-09-22 18:44:26 +02:00
ccmain implement parameter min_characters_to_try for minimum characters to try to skip page entirely. 2018-10-05 19:05:28 +02:00
ccstruct Fix CID 1395882 (Uninitialized scalar variable) 2018-10-02 11:34:14 +02:00
ccutil genericvector: Rewrite code to satisfy static code analyzer 2018-10-06 18:24:13 +02:00
classify intproto: Use more efficient float calculations for floor 2018-10-06 18:29:38 +02:00
cutil CUtil: Define virtual destructor in .cpp file 2018-09-04 07:46:31 +02:00
dict Fix use of wrong UNICHARSET 2018-10-06 13:21:09 +02:00
lstm Fix use of wrong UNICHARSET 2018-10-06 13:21:09 +02:00
opencl use tprintf instead of printf to be able disable messages by quiet option 2018-09-29 13:49:08 +02:00
textord Format code (replace ( xxx ) by (xxx)) 2018-09-29 08:21:25 +02:00
training lstmtraining: Remove dead code for purified model name 2018-10-06 09:34:17 +02:00
viewer Remove duplicate include statements 2018-09-19 22:33:29 +02:00
vs2010 Fix whitespace issues 2018-08-01 13:19:52 +02:00
wordrec Fix use of wrong UNICHARSET 2018-10-06 13:21:09 +02:00