cleaned up the mess I left behind
[fw/sdcc] / device / lib / _fsadd.c
index fa0970ae45c2abafef3c4a371622c61e8574cb45..5da97f0e947658747b0a08553ee2f9df9aad4b49 100644 (file)
@@ -14,8 +14,6 @@
 ** uunet!motown!pipeline!phw
 */
 
-/* (c)2000/2001: hacked a little by johan.knol@iduna.nl for sdcc */
-
 #include <float.h>
 
 union float_long
@@ -77,15 +75,13 @@ float __fsadd (float a1, float a2)
     return (0);
 
   /* normalize */
-  /* jwk: TODO: changing the next two whiles in nested ifs 
-     seriously breaks it. Why?????????????????? */ 
   while (mant1<HIDDEN) {
     mant1 <<= 1;
     exp1--;
   }
 
+  /* round off */
   while (mant1 & 0xff000000) {
-    // round off
     if (mant1&1)
       mant1 += 2;
     mant1 >>= 1 ;