MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_div_sf

Function av_div_sf

libavutil/softfloat.h:89–93  ·  view source on GitHub ↗

* b has to be normalized and not zero. * @return Will not be more denormalized than a. */

Source from the content-addressed store, hash-verified

87 * @return Will not be more denormalized than a.
88 */
89static av_const SoftFloat av_div_sf(SoftFloat a, SoftFloat b){
90 a.exp -= b.exp+1;
91 a.mant = ((int64_t)a.mant<<(ONE_BITS+1)) / b.mant;
92 return av_normalize1_sf(a);
93}
94
95static inline av_const int av_cmp_sf(SoftFloat a, SoftFloat b){
96 int t= a.exp - b.exp;

Callers 1

mainFunction · 0.85

Calls 1

av_normalize1_sfFunction · 0.85

Tested by

no test coverage detected