Changeset 544a2e4 in mainline for uspace/lib/softfloat/generic/add.c
- Timestamp:
- 2011-05-30T21:37:43Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7b712b60
- Parents:
- 18ba2e4f (diff), 0743493a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softfloat/generic/add.c
r18ba2e4f r544a2e4 27 27 */ 28 28 29 /** @addtogroup softfloat 29 /** @addtogroup softfloat 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #include <sftypes.h>36 #include <add.h>37 #include <comparison.h>35 #include <sftypes.h> 36 #include <add.h> 37 #include <comparison.h> 38 38 39 39 /** Add two Float32 numbers with same signs … … 139 139 a.parts.exp = exp1; 140 140 141 /* Clear hidden bit and shift */141 /* Clear hidden bit and shift */ 142 142 a.parts.fraction = ((frac1 >> 6) & (~FLOAT32_HIDDEN_BIT_MASK)) ; 143 143 return a; 144 144 } 145 146 145 147 146 /** Add two Float64 numbers with same signs … … 250 249 251 250 a.parts.exp = exp1; 252 /* Clear hidden bit and shift */251 /* Clear hidden bit and shift */ 253 252 a.parts.fraction = ( (frac1 >> 6 ) & (~FLOAT64_HIDDEN_BIT_MASK)); 254 253
Note:
See TracChangeset
for help on using the changeset viewer.