From 27db99fcee85939f0b7580ad55303c4c60a3b98d Mon Sep 17 00:00:00 2001
From: Dan Gohman
This is an overloaded intrinsic. You can use llvm.floor on any + floating point or vector of floating point type. Not all targets support all + types however.
+ ++ declare float @llvm.floor.f32(float %Val) + declare double @llvm.floor.f64(double %Val) + declare x86_fp80 @llvm.floor.f80(x86_fp80 %Val) + declare fp128 @llvm.floor.f128(fp128 %Val) + declare ppc_fp128 @llvm.floor.ppcf128(ppc_fp128 %Val) ++ +
The 'llvm.floor.*' intrinsics return the floor of + the operand.
+ +The argument and return value are floating point numbers of the same + type.
+ +This function returns the same values as the libm floor functions + would, and handles error conditions in the same way.
+ +