opencv/modules/core/test
Rostislav Vasilikhin c6a3a18894 SoftFloat integrated (#8668)
* everything is put into softfloat.cpp and softfloat.hpp

* WIP: try to integrate softfloat into OpenCV

* extra functions removed

* softfloat made stateless

* CV_EXPORTS added

* operators fixed

* exp added, log: WIP

* log32 fixed

* shorter names; a lot of TODOs

* log64 rewritten

* cbrt32 added

* minors, refactoring

* "inline" -> "CV_INLINE"

* cast to bool warnings fixed

* several warnings fixed

* fixed warning about unsigned unary minus

* fixed warnings on type cast

* inline -> CV_INLINE

* special cases processing added (NaNs, Infs, etc.)

* constants for NaN and Inf added

* more macros and helper functions added

* added (or fixed) tests for pow32, pow64, cbrt32

* exp-like functions fixed

* minor changes

* fixed random number generation for tests

* tests for exp32 and exp64: values are compared to SoftFloat-based naive implementation

* minor warning fix

* pow(f, i) 32/64: special cases handling added

* unused functions removed

* refactoring is in progress (not compiling)

* CV_inline added

* unions {uint_t, float_t} removed

* tests compilation fixed

* static const members -> static methods returning const

* reinterpret_cast

* warning fixed

* const-ness fixed

* all FP calculations (even compile-time) are done in SoftFloat + minor fixes

* pow(f, i) removed from interface (can cause incorrect cast) to internals of pow(f, f), tests fixed

* CV_INLINE -> inline

* internal constants moved to .cpp file

* toInt_minMag() methods merged into toInt() methods

* macros moved to .cpp file

* refactoring: types renamed to softfloat and softdouble; explicit constructors, etc.

* toFloat(), toDouble() -> operator float(), operator double()

* removed f32/f64 prefixes from functions names

* toType() methods removed, round() and trunc() functions added

* minor change

* minors

* MSVC: warnings fixed

* added int cvRound(), cvFloor, cvCeil, cvTrunc, saturate_cast<T>()

* typo fixed

* type cast fixed
2017-05-29 17:07:25 +03:00
..
ocl add OpenCL version of convertFp16 and test 2017-05-23 20:00:21 +09:00
test_arithm.cpp resolves https://github.com/opencv/opencv/issues/7792 2017-05-23 18:16:40 +03:00
test_concatenation.cpp Suppress warning in constructor. 2014-04-26 00:42:26 +02:00
test_conjugate_gradient.cpp extended MinProblemSolver::Function to 1) report the space dimensionality, 2) compute gradient if needed 2015-05-05 15:56:06 +03:00
test_countnonzero.cpp Fixed multidimensional count non-zero IPP implementation 2017-05-23 13:23:59 +03:00
test_downhill_simplex.cpp extended MinProblemSolver::Function to 1) report the space dimensionality, 2) compute gradient if needed 2015-05-05 15:56:06 +03:00
test_ds.cpp Fixed several GCC 5.x warnings 2016-09-01 15:44:01 +03:00
test_dxt.cpp Merge pull request #7872 from alalek:merge-2.4 2016-12-16 16:03:14 +02:00
test_eigen.cpp fix typo 2016-06-07 14:53:04 +09:00
test_hal_core.cpp test: fix Core_HAL.mat_decomp test implementation 2016-12-12 14:47:38 +03:00
test_intrin_utils.hpp HAL math interfaces: fastAtan2, magnitude, sqrt, invSqrt, log, exp 2016-05-31 11:54:52 +03:00
test_intrin.cpp cmake: fix fp16 support 2017-04-04 20:34:58 +03:00
test_io.cpp Merge pull request #8671 from tomoaki0705:fixBuildVS2012sprintf 2017-04-29 15:13:15 +00:00
test_ippasync.cpp eliminate compiler warnings 2016-10-08 02:19:43 +03:00
test_lpsolver.cpp Used checking norm of results for LPSolver accuracy tests 2014-10-09 13:32:56 +04:00
test_main.cpp move cuda tests from core to cudaarithm 2015-02-26 19:49:12 +03:00
test_mat.cpp Add test for Mat_::release() 2017-05-23 12:20:48 +03:00
test_math.cpp SoftFloat integrated (#8668) 2017-05-29 17:07:25 +03:00
test_misc.cpp core: fix String::end() implementation 2017-02-09 16:36:22 +03:00
test_operations.cpp core: fix adjustROI behavior on indexes overflow 2017-02-22 14:05:51 +03:00
test_precomp.hpp HAL moved back to core 2015-12-17 12:33:23 +03:00
test_ptr.cpp Added tests for Ptr. 2013-09-05 19:03:00 +04:00
test_rand.cpp core(test): add regression test for RNG in parallel_for_() 2017-02-28 18:22:58 +03:00
test_rotatedrect.cpp addressed issues 2014-02-22 09:54:16 +05:30
test_umat.cpp core: fix adjustROI behavior on indexes overflow 2017-02-22 14:05:51 +03:00
test_utils.cpp build: fix compiler warnings (GCC 5.3.1) 2016-07-01 20:17:16 +03:00