Add float fract(float v) prototype.
Change-Id: Id086259f1e05487cc87f967dfc0a3eac5d8a48f7
diff --git a/scriptc/rs_cl.rsh b/scriptc/rs_cl.rsh
index 74f0ad9..211f53b 100644
--- a/scriptc/rs_cl.rsh
+++ b/scriptc/rs_cl.rsh
@@ -447,6 +447,13 @@
extern float __attribute__((overloadable)) fmod(float x, float y);
FN_FUNC_FN_FN(fmod)
+/**
+ * Return fractional part of v
+ *
+ * Supports float, float2, float3, float4.
+ */
+_RS_RUNTIME float __attribute__((overloadable)) fract(float v);
+FN_FUNC_FN(fract)
/**
* Return fractional part of v