ac1cb5ee05
- use BLI math funcs for normal float/short conversion. - correct some un-intentional float/double promotions.