summaryrefslogtreecommitdiff
path: root/mips
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2018-05-24 13:40:44 +0100
committeraiju <devnull@localhost>2018-05-24 13:40:44 +0100
commitbe3809866ce89d2dcac0b02f2ec7b49b5393cb56 (patch)
tree1c1b211ddbd23367e2c3c692804f814fbe3fba8a /mips
parent930efe67e81635e632f1e6f93e1c56499c79a55f (diff)
downloadplan9front-be3809866ce89d2dcac0b02f2ec7b49b5393cb56.tar.xz
ape: floating point improvements (thanks spew)
Diffstat (limited to 'mips')
-rw-r--r--mips/include/ape/math.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mips/include/ape/math.h b/mips/include/ape/math.h
index 5fa374801..3d2276bd6 100644
--- a/mips/include/ape/math.h
+++ b/mips/include/ape/math.h
@@ -15,6 +15,7 @@ extern double asin(double);
extern double atan(double);
extern double atan2(double, double);
extern double cos(double);
+extern double hypot(double, double);
extern double sin(double);
extern double tan(double);
extern double cosh(double);
@@ -36,6 +37,7 @@ extern double NaN(void);
extern int isNaN(double);
extern double Inf(int);
extern int isInf(double, int);
+extern double fmin(double, double);
#ifdef _RESEARCH_SOURCE
/* does >> treat left operand as unsigned ? */