Michael Niedermayer
955cdc43a3
avutil/softfloat: Include negative numbers in cmp/gt tests
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
791ea23e57
avutil/softfloat: Add test for av_gt_sf()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
ecfb076141
avutil/softfloat: Extend the av_cmp_sf() test to cover a wider range of exponents
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
df2a2117d2
avutil/softfloat: Add test for av_cmp_sf()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
596dfe7d6c
avutil/softfloat: Add tests for exponent underflows
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
e171309756
avutil/softfloat: Add a test for av_sincos_sf()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
a176bbc873
avutil/softfloat: move av_sincos_sf() back to header
...
Fixes compilation of host tool aacps_fixed_tablegen
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
daf1158d77
avutil/softfloat: Move av_sf2double() to header
...
It was not intended to be a static private function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
54f685a0ee
avutil/softfloat: properly separate testcode
...
This matches how other self tests are implemented
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
d3585c53de
avutil/softfloat: Move av_sincos_sf() from header to c file
...
The function is quite big and trigonometric functions should not really
be used in speed critical code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
904ea60afa
avutil/softfloat: Add more tests for the normalization
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Nedeljko Babic
729466dc68
libavutil/softfloat: Add test case for av_add_sf
...
Recently normalization (av_normalize_sf) of output was added to av_add_sf.
This normalization is used for better precision for small values and the
purpose of this (quite simple) test case is to test difference between double
and softfloat.
The values used are tailored to maximally highlighte problem with precison when
normalization is not used.
Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
56123fc721
avutil/softfloat: remove unneeded include assert.h
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
bea705752d
Remove unused softfloat implementation.
...
The softfloat functionality is unused, not installed and incomplete.
On platforms without floating point units, the compiler provides a softfloat
implementation so there is no point in carrying this code around locally.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
7349392535
Make softfloat test program compile again: Setting the av_log_level variable
...
needs to be replaced by a call to av_log_set_level().
Originally committed as revision 18056 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f8a80fd69d
main() --> main(void)
...
Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
a2fd60437d
floating point "emulation" code
...
unused currently, but might come in handy for some fpu-less cpus
Originally committed as revision 5955 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago