wrap floating point intrinsics as safe functions