Index: uspace/lib/math/generic/round.c
===================================================================
--- uspace/lib/math/generic/round.c	(revision ace1bca41468e8c2409a37c799088907b37e6366)
+++ uspace/lib/math/generic/round.c	(revision bbdca54094b489b4e420a9f18874917a41d26713)
@@ -45,8 +45,4 @@
 float roundf(float val)
 {
-	/* If the input is a nan, return a canonical nan. */
-	if (isnan(val))
-		return __builtin_nanf("");
-
 	const int exp_bias = FLT_MAX_EXP - 1;
 	const int mant_bits = FLT_MANT_DIG - 1;
@@ -78,8 +74,4 @@
 double round(double val)
 {
-	/* If the input is a nan, return a canonical nan. */
-	if (isnan(val))
-		return __builtin_nan("");
-
 	const int exp_bias = DBL_MAX_EXP - 1;
 	const int mant_bits = DBL_MANT_DIG - 1;
