Index: uspace/app/tester/float/float2.c
===================================================================
--- uspace/app/tester/float/float2.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ uspace/app/tester/float/float2.c	(revision 184ff67501235de794f0853ad1810893a2a89747)
@@ -43,26 +43,4 @@
 };
 
-static double arguments_exp[OPERANDS] = {
-	3.5, -2.1, 50.0, 0.0, 1.0, 13.2, -1.1, -5.5, 0.1, -66.0
-};
-
-static double arguments_log[OPERANDS] = {
-	3.5, 100.0, 50.0, 768.3156, 1080.499999, 1.0, 66.0,
-	2.718281828459045, 9.9, 0.001
-};
-
-static double arguments_sqrt[OPERANDS] = {
-	3.5, 100.0, 50.0, 768.3156, 1080.499999, 1.0, 66.0,
-	2.718281828459045, 9.9, 0.001
-};
-
-static double arguments_tanh[OPERANDS] = {
-	3.5, -2.1, 50.0, 0.0, 1.0, 13.2, -1.1, -5.5, 0.000001, -66000000.0
-};
-
-static double results_ceil[OPERANDS] = {
-	4.0, -2.0, 100.0, 50.0, -1024.0, 0.0, 769.0, 1081.0, -600.0, 1.0
-};
-
 static double results_cos[OPERANDS] = {
 	-0.936456687291, -0.504846104600, 0.862318872288, 0.964966028492,
@@ -71,70 +49,8 @@
 };
 
-static double results_cosh[OPERANDS] = {
-	16.572824671057, 4.144313170410, 2592352764293536022528.000000000000,
-	1.000000000000, 1.543080634815, 270182.468624271103, 1.668518553822,
-	122.348009517829, 1.005004168056, 23035933171656458903220125696.0
-};
-
-static double results_fabs[OPERANDS] = {
-	3.5, 2.1, 100.0, 50.0, 1024.0, 0.0, 768.3156, 1080.499999, 600.0, 1.0
-};
-
-static double results_floor[OPERANDS] = {
-	3.0, -3.0, 100.0, 50.0, -1024.0, 0.0, 768.0, 1080.0, -600.0, 1.0
-};
-
-static double results_exp[OPERANDS] = {
-	33.115451958692, 0.122456428253, 5184705528587072045056.0,
-	1.000000000000, 2.718281828459, 540364.937246691552, 0.332871083698,
-	0.004086771438, 1.105170918076, 0.000000000000
-};
-
-static double results_log[OPERANDS] = {
-	1.252762968495, 4.605170185988, 3.912023005428, 6.644200586236,
-	6.985179175021, 0.000000000000, 4.189654742026, 1.000000000000,
-	2.292534757141, -6.907755278982
-};
-
-static double results_log10[OPERANDS] = {
-	0.544068044350, 2.000000000000, 1.698970004336, 2.885539651261,
-	3.033624770817, 0.000000000000, 1.819543935542, 0.434294481903,
-	0.995635194598, -3.000000000000
-};
-
-static double results_log2[OPERANDS] = {
-	1.807354922058, 6.643856189775, 5.643856189775, 9.585555236434,
-	10.077483355524, 0.000000000000, 6.044394119358, 1.442695040889,
-	3.307428525192, -9.965784284662
-};
-
 static double results_sin[OPERANDS] = {
 	-0.350783227690, -0.863209366649, -0.506365641110, -0.262374853704,
 	0.158533380044, 0.0, 0.980815184715, -0.206379975025, -0.044182448332,
 	0.841470984808
-};
-
-static double results_sinh[OPERANDS] = {
-	16.542627287635, -4.021856742157, 2592352764293536022528.000000000000,
-	0.000000000000, 1.175201193644, 270182.468622420449, -1.335647470124,
-	-122.343922746391, 0.100166750020, -23035933171656458903220125696.0
-};
-
-static double results_sqrt[OPERANDS] = {
-	1.870828693387, 10.000000000000, 7.071067811865, 27.718506453271,
-	32.870959812576, 1.000000000000, 8.124038404636, 1.648721270700,
-	3.146426544510, 0.031622776602
-};
-
-static double results_tan[OPERANDS] = {
-	0.374585640159, 1.709846542905, -0.587213915157, -0.271900611998,
-	0.160563932839, 0.000000000000, -5.031371570891, -0.210920691722,
-	0.044225635601, 1.557407724655
-};
-
-static double results_tanh[OPERANDS] = {
-	0.998177897611, -0.970451936613, 1.000000000000, 0.000000000000,
-	0.761594155956, 0.999999999993, -0.800499021761, -0.999966597156,
-	0.000001000000, -1.000000000000
 };
 
@@ -182,24 +98,4 @@
 
 	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = ceil(arguments[i]);
-
-		if (!cmp_double(res, results_ceil[i])) {
-			TPRINTF("Double precision ceil failed "
-			    "(%lf != %lf, arg %u)\n", res, results_ceil[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = ceilf(arguments[i]);
-
-		if (!cmp_float(res, results_ceil[i])) {
-			TPRINTF("Single precision ceil failed "
-			    "(%f != %lf, arg %u)\n", res, results_ceil[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
 		double res = cos(arguments[i]);
 
@@ -222,144 +118,4 @@
 
 	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = cosh(arguments_exp[i]);
-
-		if (!cmp_double(res, results_cosh[i])) {
-			TPRINTF("Double precision cosh failed "
-			    "(%lf != %lf, arg %u)\n", res, results_cosh[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = coshf(arguments_exp[i]);
-
-		if (!cmp_float(res, results_cosh[i])) {
-			TPRINTF("Single precision cosh failed "
-			    "(%f != %lf, arg %u)\n", res, results_cosh[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = exp(arguments_exp[i]);
-
-		if (!cmp_double(res, results_exp[i])) {
-			TPRINTF("Double precision exp failed "
-			    "(%lf != %lf, arg %u)\n", res, results_exp[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = expf(arguments_exp[i]);
-
-		if (!cmp_float(res, results_exp[i])) {
-			TPRINTF("Single precision exp failed "
-			    "(%f != %lf, arg %u)\n", res, results_exp[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = fabs(arguments[i]);
-
-		if (!cmp_double(res, results_fabs[i])) {
-			TPRINTF("Double precision fabs failed "
-			    "(%lf != %lf, arg %u)\n", res, results_fabs[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = fabsf(arguments[i]);
-
-		if (!cmp_float(res, results_fabs[i])) {
-			TPRINTF("Single precision fabs failed "
-			    "(%f != %lf, arg %u)\n", res, results_fabs[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = floor(arguments[i]);
-
-		if (!cmp_double(res, results_floor[i])) {
-			TPRINTF("Double precision floor failed "
-			    "(%lf != %lf, arg %u)\n", res, results_floor[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = floorf(arguments[i]);
-
-		if (!cmp_float(res, results_floor[i])) {
-			TPRINTF("Single precision floor failed "
-			    "(%f != %lf, arg %u)\n", res, results_floor[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = log(arguments_log[i]);
-
-		if (!cmp_double(res, results_log[i])) {
-			TPRINTF("Double precision log failed "
-			    "(%lf != %lf, arg %u)\n", res, results_log[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = logf(arguments_log[i]);
-
-		if (!cmp_float(res, results_log[i])) {
-			TPRINTF("Single precision log failed "
-			    "(%f != %lf, arg %u)\n", res, results_log[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = log10(arguments_log[i]);
-
-		if (!cmp_double(res, results_log10[i])) {
-			TPRINTF("Double precision log10 failed "
-			    "(%lf != %lf, arg %u)\n", res, results_log10[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = log10f(arguments_log[i]);
-
-		if (!cmp_float(res, results_log10[i])) {
-			TPRINTF("Single precision log10 failed "
-			    "(%f != %lf, arg %u)\n", res, results_log10[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = log2(arguments_log[i]);
-
-		if (!cmp_double(res, results_log2[i])) {
-			TPRINTF("Double precision log2 failed "
-			    "(%lf != %lf, arg %u)\n", res, results_log2[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = log2f(arguments_log[i]);
-
-		if (!cmp_float(res, results_log2[i])) {
-			TPRINTF("Single precision log2 failed "
-			    "(%f != %lf, arg %u)\n", res, results_log2[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
 		double res = sin(arguments[i]);
 
@@ -377,84 +133,4 @@
 			TPRINTF("Single precision sin failed "
 			    "(%f != %lf, arg %u)\n", res, results_sin[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = sinh(arguments_exp[i]);
-
-		if (!cmp_double(res, results_sinh[i])) {
-			TPRINTF("Double precision sinh failed "
-			    "(%lf != %lf, arg %u)\n", res, results_sinh[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = sinhf(arguments_exp[i]);
-
-		if (!cmp_float(res, results_sinh[i])) {
-			TPRINTF("Single precision sinh failed "
-			    "(%f != %lf, arg %u)\n", res, results_sinh[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = sqrt(arguments_sqrt[i]);
-
-		if (!cmp_double(res, results_sqrt[i])) {
-			TPRINTF("Double precision sqrt failed "
-			    "(%lf != %lf, arg %u)\n", res, results_sqrt[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = sqrtf(arguments_sqrt[i]);
-
-		if (!cmp_float(res, results_sqrt[i])) {
-			TPRINTF("Single precision sqrt failed "
-			    "(%f != %lf, arg %u)\n", res, results_sqrt[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = tan(arguments[i]);
-
-		if (!cmp_double(res, results_tan[i])) {
-			TPRINTF("Double precision tan failed "
-			    "(%lf != %lf, arg %u)\n", res, results_tan[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = tanf(arguments[i]);
-
-		if (!cmp_float(res, results_tan[i])) {
-			TPRINTF("Single precision tan failed "
-			    "(%f != %lf, arg %u)\n", res, results_tan[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		double res = tanh(arguments_tanh[i]);
-
-		if (!cmp_double(res, results_tanh[i])) {
-			TPRINTF("Double precision tanh failed "
-			    "(%lf != %lf, arg %u)\n", res, results_tanh[i], i);
-			fail = true;
-		}
-	}
-
-	for (unsigned int i = 0; i < OPERANDS; i++) {
-		float res = tanhf(arguments_tanh[i]);
-
-		if (!cmp_float(res, results_tanh[i])) {
-			TPRINTF("Single precision tanh failed "
-			    "(%f != %lf, arg %u)\n", res, results_tanh[i], i);
 			fail = true;
 		}
Index: uspace/lib/math/Makefile
===================================================================
--- uspace/lib/math/Makefile	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ uspace/lib/math/Makefile	(revision 184ff67501235de794f0853ad1810893a2a89747)
@@ -34,21 +34,5 @@
 
 SOURCES = \
-	generic/ceil.c \
-	generic/cosh.c \
-	generic/exp.c \
-	generic/fabs.c \
-	generic/floor.c \
 	generic/fmod.c \
-	generic/frexp.c \
-	generic/ldexp.c \
-	generic/log.c \
-	generic/log10.c \
-	generic/log2.c \
-	generic/modf.c \
-	generic/pow.c \
-	generic/sinh.c \
-	generic/sqrt.c \
-	generic/tan.c \
-	generic/tanh.c \
 	generic/trig.c \
 	generic/trunc.c
Index: pace/lib/math/generic/ceil.c
===================================================================
--- uspace/lib/math/generic/ceil.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,88 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <ceil.h>
-#include <math.h>
-#include <mathtypes.h>
-
-/** Ceiling (round towards positive infinity, 32-bit floating point)
- *
- * @param val Floating point number.
- *
- * @return Number rounded towards positive infinity.
- */
-float32_t float32_ceil(float32_t val)
-{
-	float32_u t;
-	float32_u v;
-	float32_u r;
-
-	v.val = val;
-	t.val = trunc_f32(val);
-
-	if (v.data.parts.sign == 1 || val == t.val) {
-		r = t;
-	} else {
-		r.val = t.val + 1.0;
-	}
-
-	return r.val;
-}
-
-/** Ceiling (round towards positive infinity, 64-bit floating point)
- *
- * @param val Floating point number.
- *
- * @return Number rounded towards positive infinity.
- */
-float64_t float64_ceil(float64_t val)
-{
-	float64_u t;
-	float64_u v;
-	float64_u r;
-
-	v.val = val;
-	t.val = trunc_f64(val);
-
-	if (v.data.parts.sign == 1 || val == t.val) {
-		r = t;
-	} else {
-		r.val = t.val + 1.0;
-	}
-
-	return r.val;
-}
-
-/** @}
- */
Index: pace/lib/math/generic/cosh.c
===================================================================
--- uspace/lib/math/generic/cosh.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,67 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <cosh.h>
-#include <math.h>
-
-/** Hyperbolic cosine (32-bit floating point)
- *
- * Compute hyperbolic cosine value.
- *
- * @param arg Hyperbolic angle
- *
- * @return Hyperbolic cosine.
- *
- */
-float32_t float32_cosh(float32_t arg)
-{
-	return (exp_f32(arg) + exp_f32(-arg)) / 2.0;
-}
-
-/** Hyperbolic cosine (64-bit floating point)
- *
- * Compute hyperbolic cosine value.
- *
- * @param arg Hyperbolic angle
- *
- * @return Hyperbolic cosine.
- *
- */
-float64_t float64_cosh(float64_t arg)
-{
-	return (exp_f64(arg) + exp_f64(-arg)) / 2.0;
-}
-
-/** @}
- */
Index: pace/lib/math/generic/exp.c
===================================================================
--- uspace/lib/math/generic/exp.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,161 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * Copyright (c) 2014 Martin Decky
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <exp.h>
-#include <math.h>
-
-#define TAYLOR_DEGREE_32 13
-#define TAYLOR_DEGREE_64 21
-
-/** Precomputed values for factorial (starting from 1!) */
-static float64_t factorials[TAYLOR_DEGREE_64] = {
-	1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
-	479001600, 6227020800.0L, 87178291200.0L, 1307674368000.0L,
-	20922789888000.0L, 355687428096000.0L, 6402373705728000.0L,
-	121645100408832000.0L, 2432902008176640000.0L, 51090942171709440000.0L
-};
-
-/** Exponential approximation by Taylor series (32-bit floating point)
- *
- * Compute the approximation of exponential by a Taylor
- * series (using the first TAYLOR_DEGREE terms).
- * The approximation is reasonably accurate for
- * arguments within the interval XXXX.
- *
- * @param arg Argument.
- *
- * @return Exponential value approximation.
- *
- */
-static float32_t taylor_exp_32(float32_t arg)
-{
-	float32_t ret = 1;
-	float32_t nom = 1;
-
-	for (unsigned int i = 0; i < TAYLOR_DEGREE_32; i++) {
-		nom *= arg;
-		ret += nom / factorials[i];
-	}
-
-	return ret;
-}
-
-/** Exponential approximation by Taylor series (64-bit floating point)
- *
- * Compute the approximation of exponential by a Taylor
- * series (using the first TAYLOR_DEGREE terms).
- * The approximation is reasonably accurate for
- * arguments within the interval XXXX.
- *
- * @param arg Argument.
- *
- * @return Exponential value approximation.
- *
- */
-static float64_t taylor_exp_64(float64_t arg)
-{
-	float64_t ret = 1;
-	float64_t nom = 1;
-
-	for (unsigned int i = 0; i < TAYLOR_DEGREE_64; i++) {
-		nom *= arg;
-		ret += nom / factorials[i];
-	}
-
-	return ret;
-}
-
-/** Exponential (32-bit floating point)
- *
- * Compute exponential value.
- *
- * @param arg Exponential argument.
- *
- * @return Exponential value.
- *
- */
-float32_t float32_exp(float32_t arg)
-{
-	float32_t f;
-	float32_t i;
-	float32_u r;
-
-	/*
-	 * e^a = (2 ^ log2(e))^a = 2 ^ (log2(e) * a)
-	 * log2(e) * a = i + f | f in [0, 1]
-	 * e ^ a = 2 ^ (i + f) = 2^f * 2^i = (e ^ log(2))^f * 2^i =
-	 * e^(log(2)*f) * 2^i
-	 */
-
-	i = trunc_f32(arg * M_LOG2E);
-	f = arg * M_LOG2E - i;
-
-	r.val = taylor_exp_32(M_LN2 * f);
-	r.data.parts.exp += i;
-	return r.val;
-}
-
-/** Exponential (64-bit floating point)
- *
- * Compute exponential value.
- *
- * @param arg Exponential argument.
- *
- * @return Exponential value.
- *
- */
-float64_t float64_exp(float64_t arg)
-{
-	float64_t f;
-	float64_t i;
-	float64_u r;
-
-	/*
-	 * e^a = (2 ^ log2(e))^a = 2 ^ (log2(e) * a)
-	 * log2(e) * a = i + f | f in [0, 1]
-	 * e ^ a = 2 ^ (i + f) = 2^f * 2^i = (e ^ log(2))^f * 2^i =
-	 * e^(log(2)*f) * 2^i
-	 */
-
-	i = trunc_f64(arg * M_LOG2E);
-	f = arg * M_LOG2E - i;
-
-	r.val = taylor_exp_64(M_LN2 * f);
-	r.data.parts.exp += i;
-	return r.val;
-}
-
-/** @}
- */
Index: pace/lib/math/generic/fabs.c
===================================================================
--- uspace/lib/math/generic/fabs.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,73 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <math.h>
-#include <fabs.h>
-
-/** Absolute value (32-bit floating point)
- *
- * Compute absolute value.
- *
- * @param arg Argument.
- *
- * @return Absolute value.
- *
- */
-float32_t float32_fabs(float32_t arg)
-{
-	if (arg < 0.0)
-		return -arg;
-	else
-		return arg;
-}
-
-/** Absolute value (64-bit floating point)
- *
- * Compute absolute value.
- *
- * @param arg Argument.
- *
- * @return Absolute value.
- *
- */
-float64_t float64_fabs(float64_t arg)
-{
-	if (arg < 0.0)
-		return -arg;
-	else
-		return arg;
-}
-
-/** @}
- */
Index: pace/lib/math/generic/floor.c
===================================================================
--- uspace/lib/math/generic/floor.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,82 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <floor.h>
-#include <math.h>
-#include <mathtypes.h>
-
-/** Ceiling (round towards negative infinity, 32-bit floating point)
- *
- * @param val Floating point number.
- *
- * @return Number rounded towards negative infinity.
- */
-
-float32_t float32_floor(float32_t val)
-{
-	float32_t t;
-	float32_u v;
-
-	v.val = val;
-	t = trunc_f32(val);
-
-	if (v.data.parts.sign == 0 || val == t)
-		return t;
-	else
-		return t - 1.0;
-}
-
-/** Ceiling (round towards negative infinity, 64-bit floating point)
- *
- * @param val Floating point number.
- *
- * @return Number rounded towards negative infinity.
- */
-
-float64_t float64_floor(float64_t val)
-{
-	float64_t t;
-	float64_u v;
-
-	v.val = val;
-	t = trunc_f64(val);
-
-	if (v.data.parts.sign == 0 || val == t)
-		return t;
-	else
-		return t - 1.0;
-}
-
-/** @}
- */
Index: pace/lib/math/generic/frexp.c
===================================================================
--- uspace/lib/math/generic/frexp.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,81 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <frexp.h>
-#include <math.h>
-
-/** Break single precision number into fraction and exponent
- *
- * Return f and *exp such that x = f * 2^(*exp) and f is in [0.5,1)
- *
- * @param x Number
- * @param exp Place to store exponent
- *
- * @return f
- *
- */
-float32_t float32_frexp(float32_t x, int *exp)
-{
-	float32_u u;
-
-	u.val = x;
-	*exp = u.data.parts.exp - FLOAT32_BIAS;
-	u.data.parts.exp = FLOAT32_BIAS;
-
-	return u.val;
-}
-
-/** Break double precision number into fraction and exponent
- *
- * Return f and *exp such that x = f * 2^(*exp) and f is in [0.5,1)
- *
- * @param x Number
- * @param exp Place to store exponent
- *
- * @return f
- *
- */
-float64_t float64_frexp(float64_t x, int *exp)
-{
-	float64_u u;
-
-	u.val = x;
-	*exp = u.data.parts.exp - FLOAT64_BIAS;
-	u.data.parts.exp = FLOAT64_BIAS;
-
-	return u.val;
-}
-
-/** @}
- */
Index: pace/lib/math/generic/ldexp.c
===================================================================
--- uspace/lib/math/generic/ldexp.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,108 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <errno.h>
-#include <ldexp.h>
-#include <math.h>
-
-/** Single precision multiply by power of two
- *
- * Compute x * 2^exp.
- *
- * @param x Number
- * @param exp Exponent
- *
- * @return x * 2^exp
- *
- */
-float32_t float32_ldexp(float32_t x, int exp)
-{
-	float32_u u;
-	int e;
-
-	u.val = x;
-	e = u.data.parts.exp + exp;
-
-	if (e < 0) {
-		/* XXX Can we return denormalized numbers? */
-		return 0.0;
-	} else if (e > FLOAT32_MAX_EXPONENT) {
-		errno = ERANGE;
-		if (e < 0)
-			return -FLOAT32_INF;
-		else
-			return FLOAT32_INF;
-	} else {
-		/* Adjust exponent */
-		u.data.parts.exp = e;
-		return u.val;
-	}
-}
-
-/** Double precision multiply by power of two
- *
- * Compute x * 2^exp.
- *
- * @param x Number
- * @param y Exponent
- *
- * @return x * 2^exp
- *
- */
-float64_t float64_ldexp(float64_t x, int exp)
-{
-	float64_u u;
-	int e;
-
-	u.val = x;
-	e = u.data.parts.exp + exp;
-
-	if (e < 0) {
-		/* XXX Can we return denormalized numbers? */
-		return 0.0;
-	} else if (e > FLOAT64_MAX_EXPONENT) {
-		errno = ERANGE;
-		if (e < 0)
-			return -FLOAT64_INF;
-		else
-			return FLOAT64_INF;
-	} else {
-		/* Adjust exponent */
-		u.data.parts.exp = e;
-		return u.val;
-	}
-}
-
-/** @}
- */
Index: pace/lib/math/generic/log.c
===================================================================
--- uspace/lib/math/generic/log.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,160 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * Copyright (c) 2014 Martin Decky
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <log.h>
-#include <math.h>
-
-#define TAYLOR_DEGREE_32  31
-#define TAYLOR_DEGREE_64  63
-
-/** log(1 - arg) approximation by Taylor series (32-bit floating point)
- *
- * Compute the approximation of log(1 - arg) by a Taylor
- * series (using the first TAYLOR_DEGREE terms).
- * arg must be within [-1, 1].
- *
- * @param arg Argument.
- *
- * @return log(1 - arg)
- *
- */
-static float32_t taylor_log_32(float32_t arg)
-{
-	float32_t ret = 0;
-	float32_t num = 1;
-
-	for (unsigned int i = 1; i <= TAYLOR_DEGREE_32; i++) {
-		num *= arg;
-
-		if ((i % 2) == 0)
-			ret += num / i;
-		else
-			ret -= num / i;
-	}
-
-	return ret;
-}
-
-/** log(1 - arg) approximation by Taylor series (64-bit floating point)
- *
- * Compute the approximation of log(1 - arg) by a Taylor
- * series (using the first TAYLOR_DEGREE terms).
- * arg must be within [-1, 1].
- *
- * @param arg Argument.
- *
- * @return log(1 - arg)
- *
- */
-static float64_t taylor_log_64(float64_t arg)
-{
-	float64_t ret = 0;
-	float64_t num = 1;
-
-	for (unsigned int i = 1; i <= TAYLOR_DEGREE_64; i++) {
-		num *= arg;
-
-		if ((i % 2) == 0)
-			ret += num / i;
-		else
-			ret -= num / i;
-	}
-
-	return ret;
-}
-
-/** Natural logarithm (32-bit floating point)
- *
- * @param arg Argument.
- *
- * @return Logarithm.
- *
- */
-float32_t float32_log(float32_t arg)
-{
-	float32_u m;
-	int e;
-
-	m.val = arg;
-	/*
-	 * Factor arg into m * 2^e where m has exponent -1,
-	 * which means it is in [1.0000..e-1, 1.1111..e-1] = [0.5, 1.0]
-	 * so the argument to taylor_log_32 will be in [0, 0.5]
-	 * ensuring that we get at least one extra bit of precision
-	 * in each iteration.
-	 */
-	e = m.data.parts.exp - (FLOAT32_BIAS - 1);
-	m.data.parts.exp = FLOAT32_BIAS - 1;
-
-	/*
-	 * arg = m * 2^e ; log(arg) = log(m) + log(2^e) =
-	 * log(m) + log2(2^e) / log2(e) = log(m) + e / log2(e)
-	 */
-	return -taylor_log_32(m.val - 1.0) + e / M_LOG2E;
-}
-
-/** Natural logarithm (64-bit floating point)
- *
- * @param arg Argument.
- *
- * @return Logarithm.
- *
- */
-float64_t float64_log(float64_t arg)
-{
-	float64_u m;
-	int e;
-
-	m.val = arg;
-
-	/*
-	 * Factor arg into m * 2^e where m has exponent -1,
-	 * which means it is in [1.0000..e-1, 1.1111..e-1] = [0.5, 1.0]
-	 * so the argument to taylor_log_32 will be in [0, 0.5]
-	 * ensuring that we get at least one extra bit of precision
-	 * in each iteration.
-	 */
-	e = m.data.parts.exp - (FLOAT64_BIAS - 1);
-	m.data.parts.exp = FLOAT64_BIAS - 1;
-
-	/*
-	 * arg = m * 2^e ; log(arg) = log(m) + log(2^e) =
-	 * log(m) + log2(2^e) / log2(e) = log(m) + e / log2(e)
-	 */
-	return -taylor_log_64(m.val - 1.0) + e / M_LOG2E;
-}
-
-/** @}
- */
Index: pace/lib/math/generic/log10.c
===================================================================
--- uspace/lib/math/generic/log10.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,68 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <log10.h>
-#include <math.h>
-
-/** Decimal logarithm (32-bit floating point)
- *
- * Compute logarithm value.
- *
- * @param arg Logarithm argument.
- *
- * @return Logarithm value.
- *
- */
-float32_t float32_log10(float32_t arg)
-{
-	return log_f32(arg) / M_LN10;
-}
-
-/** Decimal logarithm (64-bit floating point)
- *
- * Compute logarithm value.
- *
- * @param arg Logarithm argument.
- *
- * @return Logarithm value.
- *
- */
-float64_t float64_log10(float64_t arg)
-{
-	return log_f64(arg) / M_LN10;
-}
-
-
-/** @}
- */
Index: pace/lib/math/generic/log2.c
===================================================================
--- uspace/lib/math/generic/log2.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,68 +1,0 @@
-/*
- * Copyright (c) 2018 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <log2.h>
-#include <math.h>
-
-/** Base-2 logarithm (32-bit floating point)
- *
- * Compute base-2 logarithm value.
- *
- * @param arg Logarithm argument.
- *
- * @return Logarithm value.
- *
- */
-float32_t float32_log2(float32_t arg)
-{
-	return log_f32(arg) / M_LN2;
-}
-
-/** Base-2 logarithm (64-bit floating point)
- *
- * Compute base-2 logarithm value.
- *
- * @param arg Logarithm argument.
- *
- * @return Logarithm value.
- *
- */
-float64_t float64_log2(float64_t arg)
-{
-	return log_f64(arg) / M_LN2;
-}
-
-
-/** @}
- */
Index: pace/lib/math/generic/modf.c
===================================================================
--- uspace/lib/math/generic/modf.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,83 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <math.h>
-#include <modf.h>
-
-/** Remainder function (32-bit floating point)
- *
- * Calculate the modulo of dividend by divisor.
- *
- * This is a very basic implementation that uses
- * division and multiplication (instead of exact
- * arithmetics). Thus the result might be very
- * imprecise (depending on the magnitude of the
- * arguments).
- *
- * @param dividend Dividend.
- * @param divisor  Divisor.
- *
- * @return Modulo.
- *
- */
-float32_t float32_modf(float32_t value, float32_t *iptr)
-{
-	*iptr = trunc_f32(value);
-	return value - *iptr;
-}
-
-/** Remainder function (64-bit floating point)
- *
- * Calculate the modulo of dividend by divisor.
- *
- * This is a very basic implementation that uses
- * division and multiplication (instead of exact
- * arithmetics). Thus the result might be very
- * imprecise (depending on the magnitude of the
- * arguments).
- *
- * @param dividend Dividend.
- * @param divisor  Divisor.
- *
- * @return Modulo.
- *
- */
-float64_t float64_modf(float64_t value, float64_t *iptr)
-{
-	*iptr = trunc_f64(value);
-	return value - *iptr;
-}
-
-/** @}
- */
Index: pace/lib/math/generic/pow.c
===================================================================
--- uspace/lib/math/generic/pow.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,72 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * Copyright (c) 2014 Martin Decky
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <math.h>
-#include <pow.h>
-
-/** Single precision power
- *
- * Compute power value.
- *
- * @param x Base
- * @param y Exponent
- *
- * @return Cosine value.
- *
- */
-float32_t float32_pow(float32_t x, float32_t y)
-{
-	/* x^y = (e ^ log(x))^y = e ^ (log(x) * y) */
-	return exp_f32(log_f32(x) * y);
-}
-
-/** Double precision power
- *
- * Compute power value.
- *
- * @param x Base
- * @param y Exponent
- *
- * @return Cosine value.
- *
- */
-float64_t float64_pow(float64_t x, float64_t y)
-{
-	/* x^y = (e ^ log(x))^y = e ^ (log(x) * y) */
-	return exp_f64(log_f64(x) * y);
-}
-
-/** @}
- */
Index: pace/lib/math/generic/sinh.c
===================================================================
--- uspace/lib/math/generic/sinh.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,67 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <math.h>
-#include <sinh.h>
-
-/** Hyperbolic sine (32-bit floating point)
- *
- * Compute hyperbolic sine value.
- *
- * @param arg Hyperbolic angle
- *
- * @return Hyperbolic sine.
- *
- */
-float32_t float32_sinh(float32_t arg)
-{
-	return (exp_f32(arg) - exp_f32(-arg)) / 2.0;
-}
-
-/** Hyperbolic sine (64-bit floating point)
- *
- * Compute hyperbolic sine value.
- *
- * @param arg Hyperbolic angle
- *
- * @return Hyperbolic sine.
- *
- */
-float64_t float64_sinh(float64_t arg)
-{
-	return (exp_f64(arg) - exp_f64(-arg)) / 2.0;
-}
-
-/** @}
- */
Index: pace/lib/math/generic/sqrt.c
===================================================================
--- uspace/lib/math/generic/sqrt.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,67 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <math.h>
-#include <sqrt.h>
-
-/** Single precision square root
- *
- * Compute square root.
- *
- * @param val Value
- *
- * @return Square root.
- *
- */
-float32_t float32_sqrt(float32_t val)
-{
-	return pow_f32(val, 0.5);
-}
-
-/** Double precision square root
- *
- * Compute squre root.
- *
- * @param val Value
- *
- * @return Square root.
- *
- */
-float64_t float64_sqrt(float64_t val)
-{
-	return pow_f64(val, 0.5);
-}
-
-/** @}
- */
Index: pace/lib/math/generic/tan.c
===================================================================
--- uspace/lib/math/generic/tan.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,68 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <math.h>
-#include <tan.h>
-
-/** Tangent (32-bit floating point)
- *
- * Compute tangent value.
- *
- * @param arg Tangent argument.
- *
- * @return Tangent value.
- *
- */
-float32_t float32_tan(float32_t arg)
-{
-	return sin_f32(arg) / cos_f32(arg);
-}
-
-/** Sine (64-bit floating point)
- *
- * Compute sine value.
- *
- * @param arg Sine argument.
- *
- * @return Sine value.
- *
- */
-float64_t float64_tan(float64_t arg)
-{
-	return sin_f64(arg) / cos_f64(arg);
-}
-
-
-/** @}
- */
Index: pace/lib/math/generic/tanh.c
===================================================================
--- uspace/lib/math/generic/tanh.c	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,83 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#include <math.h>
-#include <tanh.h>
-
-/** Hyperbolic tangent (32-bit floating point)
- *
- * Compute hyperbolic tangent value.
- *
- * @param arg Hyperbolic angle
- *
- * @return Hyperbolic tangent.
- *
- */
-float32_t float32_tanh(float32_t arg)
-{
-	float32_t em2x;
-
-	if (arg > 9.0)
-		return 1.0;
-	if (arg < -9.0)
-		return -1.0;
-
-	em2x = exp_f32(-2.0 * arg);
-	return (1.0 - em2x) / (1.0 + em2x);
-}
-
-/** Hyperbolic tangent (64-bit floating point)
- *
- * Compute hyperbolic tangent value.
- *
- * @param arg Hyperbolic angle
- *
- * @return Hyperbolic tangent.
- *
- */
-float64_t float64_tanh(float64_t arg)
-{
-	float64_t em2x;
-
-	if (arg > 19.0)
-		return 1.0;
-	if (arg < -19.0)
-		return -1.0;
-
-	em2x = exp_f64(-2.0 * arg);
-	return (1.0 - em2x) / (1.0 + em2x);
-}
-
-/** @}
- */
Index: pace/lib/math/include/ceil.h
===================================================================
--- uspace/lib/math/include/ceil.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_CEIL_H_
-#define LIBMATH_CEIL_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_ceil(float32_t);
-extern float64_t float64_ceil(float64_t);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/cosh.h
===================================================================
--- uspace/lib/math/include/cosh.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_COSH_H_
-#define LIBMATH_COSH_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_cosh(float32_t);
-extern float64_t float64_cosh(float64_t);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/exp.h
===================================================================
--- uspace/lib/math/include/exp.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_EXP_H_
-#define LIBMATH_EXP_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_exp(float32_t);
-extern float64_t float64_exp(float64_t);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/fabs.h
===================================================================
--- uspace/lib/math/include/fabs.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_FABS_H_
-#define LIBMATH_FABS_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_fabs(float32_t);
-extern float64_t float64_fabs(float64_t);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/floor.h
===================================================================
--- uspace/lib/math/include/floor.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_FLOOR_H_
-#define LIBMATH_FLOOR_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_floor(float32_t);
-extern float64_t float64_floor(float64_t);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/frexp.h
===================================================================
--- uspace/lib/math/include/frexp.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_FREXP_H_
-#define LIBMATH_FREXP_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_frexp(float32_t, int *);
-extern float64_t float64_frexp(float64_t, int *);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/ldexp.h
===================================================================
--- uspace/lib/math/include/ldexp.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_LDEXP_H_
-#define LIBMATH_LDEXP_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_ldexp(float32_t, int);
-extern float64_t float64_ldexp(float64_t, int);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/log.h
===================================================================
--- uspace/lib/math/include/log.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_LOG_H_
-#define LIBMATH_LOG_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_log(float32_t);
-extern float64_t float64_log(float64_t);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/log10.h
===================================================================
--- uspace/lib/math/include/log10.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_LOG10_H_
-#define LIBMATH_LOG10_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_log10(float32_t);
-extern float64_t float64_log10(float64_t);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/log2.h
===================================================================
--- uspace/lib/math/include/log2.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2018 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_LOG2_H_
-#define LIBMATH_LOG2_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_log2(float32_t);
-extern float64_t float64_log2(float64_t);
-
-#endif
-
-/** @}
- */
Index: uspace/lib/math/include/math.h
===================================================================
--- uspace/lib/math/include/math.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ uspace/lib/math/include/math.h	(revision 184ff67501235de794f0853ad1810893a2a89747)
@@ -37,36 +37,9 @@
 #define LIBMATH_MATH_H_
 
-#include <ceil.h>
-#include <cosh.h>
-#include <exp.h>
-#include <fabs.h>
-#include <floor.h>
 #include <fmod.h>
-#include <frexp.h>
-#include <ldexp.h>
-#include <log.h>
-#include <log10.h>
-#include <log2.h>
-#include <mathtypes.h>
-#include <modf.h>
-#include <pow.h>
-#include <sinh.h>
-#include <sqrt.h>
-#include <tan.h>
-#include <tanh.h>
 #include <trig.h>
 #include <trunc.h>
 
 #define HUGE_VAL FLOAT64_INF
-
-static inline float64_t ceil_f64(float64_t val)
-{
-	return float64_ceil(val);
-}
-
-static inline float32_t ceil_f32(float32_t val)
-{
-	return float32_ceil(val);
-}
 
 static inline float64_t cos_f64(float64_t val)
@@ -80,43 +53,4 @@
 }
 
-static inline float64_t cosh_f64(float64_t val)
-{
-	return float64_cosh(val);
-}
-
-static inline float32_t cosh_f32(float32_t val)
-{
-	return float32_cosh(val);
-}
-
-static inline float64_t exp_f64(float64_t val)
-{
-	return float64_exp(val);
-}
-
-static inline float32_t exp_f32(float32_t val)
-{
-	return float32_exp(val);
-}
-
-static inline float64_t fabs_f64(float64_t val)
-{
-	return float64_fabs(val);
-}
-
-static inline float32_t fabs_f32(float32_t val)
-{
-	return float32_fabs(val);
-}
-
-static inline float64_t floor_f64(float64_t val)
-{
-	return float64_floor(val);
-}
-
-static inline float32_t floor_f32(float32_t val)
-{
-	return float32_floor(val);
-}
 static inline float64_t fmod_f64(float64_t dividend, float64_t divisor)
 {
@@ -127,74 +61,4 @@
 {
 	return float32_fmod(dividend, divisor);
-}
-
-static inline float64_t frexp_f64(float64_t x, int *exp)
-{
-	return float64_frexp(x, exp);
-}
-
-static inline float64_t frexp_f32(float32_t x, int *exp)
-{
-	return float32_frexp(x, exp);
-}
-
-static inline float64_t ldexp_f64(float64_t x, int exp)
-{
-	return float64_ldexp(x, exp);
-}
-
-static inline float64_t ldexp_f32(float32_t x, int exp)
-{
-	return float32_ldexp(x, exp);
-}
-
-static inline float64_t log_f64(float64_t val)
-{
-	return float64_log(val);
-}
-
-static inline float32_t log_f32(float32_t val)
-{
-	return float32_log(val);
-}
-
-static inline float64_t log10_f64(float64_t val)
-{
-	return float64_log10(val);
-}
-
-static inline float32_t log10_f32(float32_t val)
-{
-	return float32_log10(val);
-}
-
-static inline float32_t log2_f32(float32_t val)
-{
-	return float32_log2(val);
-}
-
-static inline float64_t log2_f64(float64_t val)
-{
-	return float64_log2(val);
-}
-
-static inline float64_t modf_f64(float64_t value, float64_t *iptr)
-{
-	return float64_modf(value, iptr);
-}
-
-static inline float64_t modf_f32(float32_t value, float32_t *iptr)
-{
-	return float32_modf(value, iptr);
-}
-
-static inline float64_t pow_f64(float64_t x, float64_t y)
-{
-	return float64_pow(x, y);
-}
-
-static inline float32_t pow_f32(float32_t x, float32_t y)
-{
-	return float32_pow(x, y);
 }
 
@@ -209,44 +73,4 @@
 }
 
-static inline float64_t sinh_f64(float64_t val)
-{
-	return float64_sinh(val);
-}
-
-static inline float32_t sinh_f32(float32_t val)
-{
-	return float32_sinh(val);
-}
-
-static inline float64_t sqrt_f64(float64_t val)
-{
-	return float64_sqrt(val);
-}
-
-static inline float32_t sqrt_f32(float32_t val)
-{
-	return float32_sqrt(val);
-}
-
-static inline float64_t tan_f64(float64_t val)
-{
-	return float64_tan(val);
-}
-
-static inline float32_t tan_f32(float32_t val)
-{
-	return float32_tan(val);
-}
-
-static inline float64_t tanh_f64(float64_t val)
-{
-	return float64_tanh(val);
-}
-
-static inline float32_t tanh_f32(float32_t val)
-{
-	return float32_tanh(val);
-}
-
 static inline float64_t trunc_f64(float64_t val)
 {
@@ -257,14 +81,4 @@
 {
 	return float32_trunc(val);
-}
-
-static inline float64_t ceil(float64_t val)
-{
-	return ceil_f64(val);
-}
-
-static inline float32_t ceilf(float32_t val)
-{
-	return ceil_f32(val);
 }
 
@@ -279,44 +93,4 @@
 }
 
-static inline float64_t cosh(float64_t val)
-{
-	return cosh_f64(val);
-}
-
-static inline float32_t coshf(float32_t val)
-{
-	return cosh_f32(val);
-}
-
-static inline float64_t exp(float64_t val)
-{
-	return exp_f64(val);
-}
-
-static inline float32_t expf(float32_t val)
-{
-	return exp_f32(val);
-}
-
-static inline float64_t fabs(float64_t val)
-{
-	return fabs_f64(val);
-}
-
-static inline float32_t fabsf(float32_t val)
-{
-	return fabs_f32(val);
-}
-
-static inline float64_t floor(float64_t val)
-{
-	return floor_f64(val);
-}
-
-static inline float32_t floorf(float32_t val)
-{
-	return floor_f32(val);
-}
-
 static inline float64_t fmod(float64_t dividend, float64_t divisor)
 {
@@ -329,74 +103,4 @@
 }
 
-static inline float64_t frexp(float64_t x, int *exp)
-{
-	return frexp_f64(x, exp);
-}
-
-static inline float32_t frexpf(float32_t x, int *exp)
-{
-	return frexp_f32(x, exp);
-}
-
-static inline float64_t ldexp(float64_t x, int exp)
-{
-	return ldexp_f64(x, exp);
-}
-
-static inline float32_t ldexpf(float32_t x, int exp)
-{
-	return ldexp_f32(x, exp);
-}
-
-static inline float64_t log(float64_t val)
-{
-	return log_f64(val);
-}
-
-static inline float32_t logf(float32_t val)
-{
-	return log_f32(val);
-}
-
-static inline float64_t log10(float64_t val)
-{
-	return log10_f64(val);
-}
-
-static inline float32_t log10f(float32_t val)
-{
-	return log10_f32(val);
-}
-
-static inline float64_t log2(float64_t val)
-{
-	return log2_f64(val);
-}
-
-static inline float32_t log2f(float32_t val)
-{
-	return log2_f32(val);
-}
-
-static inline float64_t modf(float64_t value, float64_t *iptr)
-{
-	return modf_f64(value, iptr);
-}
-
-static inline float32_t modff(float32_t value, float32_t *iptr)
-{
-	return modf_f32(value, iptr);
-}
-
-static inline float64_t pow(float64_t x, float64_t y)
-{
-	return pow_f64(x, y);
-}
-
-static inline float32_t powf(float32_t x, float32_t y)
-{
-	return pow_f32(x, y);
-}
-
 static inline float64_t sin(float64_t val)
 {
@@ -407,44 +111,4 @@
 {
 	return sin_f32(val);
-}
-
-static inline float64_t sinh(float64_t val)
-{
-	return sinh_f64(val);
-}
-
-static inline float32_t sinhf(float32_t val)
-{
-	return sinh_f32(val);
-}
-
-static inline float64_t sqrt(float64_t val)
-{
-	return sqrt_f64(val);
-}
-
-static inline float32_t sqrtf(float32_t val)
-{
-	return sqrt_f32(val);
-}
-
-static inline float64_t tan(float64_t val)
-{
-	return tan_f64(val);
-}
-
-static inline float32_t tanf(float32_t val)
-{
-	return tan_f32(val);
-}
-
-static inline float64_t tanh(float64_t val)
-{
-	return tanh_f64(val);
-}
-
-static inline float32_t tanhf(float32_t val)
-{
-	return tanh_f32(val);
 }
 
Index: pace/lib/math/include/modf.h
===================================================================
--- uspace/lib/math/include/modf.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_MODF_H_
-#define LIBMATH_MODF_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_modf(float32_t, float32_t *);
-extern float64_t float64_modf(float64_t, float64_t *);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/pow.h
===================================================================
--- uspace/lib/math/include/pow.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_POW_H_
-#define LIBMATH_POW_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_pow(float32_t, float32_t);
-extern float64_t float64_pow(float64_t, float64_t);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/sinh.h
===================================================================
--- uspace/lib/math/include/sinh.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_SINH_H_
-#define LIBMATH_SINH_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_sinh(float32_t);
-extern float64_t float64_sinh(float64_t);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/sqrt.h
===================================================================
--- uspace/lib/math/include/sqrt.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_SQRT_H_
-#define LIBMATH_SQRT_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_sqrt(float32_t);
-extern float64_t float64_sqrt(float64_t);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/tan.h
===================================================================
--- uspace/lib/math/include/tan.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_TAN_H_
-#define LIBMATH_TAN_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_tan(float32_t);
-extern float64_t float64_tan(float64_t);
-
-#endif
-
-/** @}
- */
Index: pace/lib/math/include/tanh.h
===================================================================
--- uspace/lib/math/include/tanh.h	(revision b2acdf32b1370506dfcb53d4daf4abb481320895)
+++ 	(revision )
@@ -1,46 +1,0 @@
-/*
- * Copyright (c) 2015 Jiri Svoboda
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * - Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- * - Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- * - The name of the author may not be used to endorse or promote products
- *   derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/** @addtogroup libmath
- * @{
- */
-/** @file
- */
-
-#ifndef LIBMATH_TANH_H_
-#define LIBMATH_TANH_H_
-
-#include <mathtypes.h>
-
-extern float32_t float32_tanh(float32_t);
-extern float64_t float64_tanh(float64_t);
-
-#endif
-
-/** @}
- */
