From: Keith Whitwell Date: Wed, 13 Jul 2005 17:49:22 +0000 (+0000) Subject: Use the LDEXPF wrapper macro. X-Git-Tag: 062012170305~22348 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b127cfeb7a4a78d9e7da8b005fff74dff5fad4ce;p=profile%2Fivi%2Fmesa.git Use the LDEXPF wrapper macro. --- diff --git a/src/mesa/tnl/t_vb_arbprogram.c b/src/mesa/tnl/t_vb_arbprogram.c index 1304194..fd7ffcd 100644 --- a/src/mesa/tnl/t_vb_arbprogram.c +++ b/src/mesa/tnl/t_vb_arbprogram.c @@ -279,9 +279,9 @@ static void do_EXP( struct arb_vp_machine *m, union instruction op ) GLfloat flr_tmp = FLOORF(tmp); GLfloat frac_tmp = tmp - flr_tmp; - result[0] = ldexpf(1.0, (int)flr_tmp); + result[0] = LDEXPF(1.0, (int)flr_tmp); result[1] = frac_tmp; - result[2] = ldexpf(rough_approx_log2_0_1(frac_tmp), (int)flr_tmp); + result[2] = LDEXPF(rough_approx_log2_0_1(frac_tmp), (int)flr_tmp); result[3] = 1.0F; }