eina_fp: Fix eina_f32p32_mul rounding issues
authorDaniel Willmann <d.willmann@samsung.com>
Fri, 17 May 2013 13:43:19 +0000 (14:43 +0100)
committerDaniel Willmann <d.willmann@samsung.com>
Fri, 17 May 2013 16:15:27 +0000 (17:15 +0100)
commit5f1614e1d504d8b9ffe4509528791ef1009a730b
treebcae5c65f65affe9421ca14f1413af34b8bab21d
parent7c20a90c3dc0b14370d9f9c81d3ea0aee0156954
eina_fp: Fix eina_f32p32_mul rounding issues

Previous multiplication just truncated the fraction part to 16 bits. If
we round properly we can actually increase accuracy a bit.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
src/lib/eina/eina_inline_f32p32.x