zte's code,first commit

Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/ap/build/uClibc/libm/s_fmax.c b/ap/build/uClibc/libm/s_fmax.c
new file mode 100644
index 0000000..21dfaa9
--- /dev/null
+++ b/ap/build/uClibc/libm/s_fmax.c
@@ -0,0 +1,19 @@
+/* Copyright (C) 2002 by  Red Hat, Incorporated. All rights reserved.
+ *
+ * Permission to use, copy, modify, and distribute this software
+ * is freely granted, provided that this notice is preserved.
+ */
+
+#include "math.h"
+#include "math_private.h"
+
+double fmax(double x, double y)
+{
+  if (__fpclassify(x) == FP_NAN)
+    return x;
+  if (__fpclassify(y) == FP_NAN)
+    return y;
+
+  return x > y ? x : y;
+}
+libm_hidden_def(fmax)