summaryrefslogtreecommitdiffstats
path: root/mathfuncs_base.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-12-01 13:51:20 -0500
committerErik Schnetter <schnetter@gmail.com>2012-12-01 13:51:20 -0500
commitcc75e470ce2a6975ff2092af614daf5e5a96702e (patch)
treea4750ae16affba0f2b49ccb9e82e61233c8a506b /mathfuncs_base.h
parent1d94d7894b3802497833de2d465529118e1f70c5 (diff)
downloadvecmathlib-cc75e470ce2a6975ff2092af614daf5e5a96702e.zip
vecmathlib-cc75e470ce2a6975ff2092af614daf5e5a96702e.tar.gz
Implement ceil floor fmod pow remainder round
Diffstat (limited to 'mathfuncs_base.h')
-rw-r--r--mathfuncs_base.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mathfuncs_base.h b/mathfuncs_base.h
index 59be31a..5fdcafd 100644
--- a/mathfuncs_base.h
+++ b/mathfuncs_base.h
@@ -43,8 +43,11 @@ namespace vecmathlib {
static realvec_t vml_atanh(realvec_t x);
// convert
+ static realvec_t vml_ceil(realvec_t x);
static realvec_t vml_convert_float(intvec_t x);
static intvec_t vml_convert_int(realvec_t x);
+ static realvec_t vml_floor(realvec_t x);
+ static realvec_t vml_round(realvec_t x);
// fabs
static realvec_t vml_copysign(realvec_t x, realvec_t y);
@@ -65,8 +68,13 @@ namespace vecmathlib {
static realvec_t vml_log1p(realvec_t x);
static realvec_t vml_log2(realvec_t x);
+ // pow
+ static realvec_t vml_pow(realvec_t x, realvec_t y);
+
// rcp
+ static realvec_t vml_fmod(realvec_t x, realvec_t y);
static realvec_t vml_rcp(realvec_t x);
+ static realvec_t vml_remainder(realvec_t x, realvec_t y);
// sqrt
static realvec_t vml_rsqrt(realvec_t x);
OpenPOWER on IntegriCloud