<html><head><style type="text/css"><!-- DIV {margin:0px} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Message d'origine ----<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">De : James Cloos <cloos@jhcloos.com><br>À : cairo <cairo@cairographics.org><br><div><br>>>Keith> Or i -= (i >> 16), which avoids the question of a branch.<br>>What about when the float is > 1.0?<br><br>Then if you want to be really sure , just add a simple mask as following:<br>i -= ((i >> 16) & 1)<br></div></div><br>Fabien<br></div></div></body></html>