• Rostislav Vasilikhin's avatar
    SoftFloat integrated (#8668) · c6a3a188
    Rostislav Vasilikhin authored
    * 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
    c6a3a188
Name
Last commit
Last update
..
cuda Loading commit data...
opencl Loading commit data...
algorithm.cpp Loading commit data...
alloc.cpp Loading commit data...
arithm.cpp Loading commit data...
arithm_core.hpp Loading commit data...
arithm_simd.hpp Loading commit data...
array.cpp Loading commit data...
bufferpool.impl.hpp Loading commit data...
command_line_parser.cpp Loading commit data...
conjugate_gradient.cpp Loading commit data...
convert.cpp Loading commit data...
copy.cpp Loading commit data...
cuda_gpu_mat.cpp Loading commit data...
cuda_host_mem.cpp Loading commit data...
cuda_info.cpp Loading commit data...
cuda_stream.cpp Loading commit data...
datastructs.cpp Loading commit data...
directx.cpp Loading commit data...
directx.inc.hpp Loading commit data...
downhill_simplex.cpp Loading commit data...
dxt.cpp Loading commit data...
gl_core_3_1.cpp Loading commit data...
gl_core_3_1.hpp Loading commit data...
glob.cpp Loading commit data...
hal_internal.cpp Loading commit data...
hal_internal.hpp Loading commit data...
hal_replacement.hpp Loading commit data...
intel_gpu_gemm.inl.hpp Loading commit data...
kmeans.cpp Loading commit data...
lapack.cpp Loading commit data...
lda.cpp Loading commit data...
lpsolver.cpp Loading commit data...
mathfuncs.cpp Loading commit data...
mathfuncs_core.dispatch.cpp Loading commit data...
mathfuncs_core.simd.hpp Loading commit data...
matmul.cpp Loading commit data...
matop.cpp Loading commit data...
matrix.cpp Loading commit data...
matrix_decomp.cpp Loading commit data...
merge.cpp Loading commit data...
ocl.cpp Loading commit data...
ocl_deprecated.hpp Loading commit data...
opengl.cpp Loading commit data...
out.cpp Loading commit data...
ovx.cpp Loading commit data...
parallel.cpp Loading commit data...
parallel_pthreads.cpp Loading commit data...
pca.cpp Loading commit data...
persistence.cpp Loading commit data...
precomp.hpp Loading commit data...
rand.cpp Loading commit data...
softfloat.cpp Loading commit data...
split.cpp Loading commit data...
stat.cpp Loading commit data...
stl.cpp Loading commit data...
system.cpp Loading commit data...
tables.cpp Loading commit data...
types.cpp Loading commit data...
umatrix.cpp Loading commit data...
va_intel.cpp Loading commit data...