Index: uspace/lib/c/generic/ieee_double.c
===================================================================
--- uspace/lib/c/generic/ieee_double.c	(revision d64303be5367fb089b277263f0e57080ae28a3c7)
+++ uspace/lib/c/generic/ieee_double.c	(revision f08da1c71ef0dddfb828f1eb6d5662e2f45989aa)
@@ -92,5 +92,10 @@
 		if (ret.is_denormal) {
 			ret.pos_val.significand = raw_significand;
-			ret.pos_val.exponent = 1 - exponent_bias;
+			if (raw_significand == 0) {
+				ret.pos_val.exponent = -exponent_bias;
+			} else {
+				ret.pos_val.exponent = 1 - exponent_bias;
+			}
+
 			ret.is_accuracy_step = false;
 		} else {
