comparison main/fixed/src/int/fixed.cc @ 9481:d84d2fea3c90 octave-forge

Re-enable compilation of fixed package
author jordigh
date Wed, 22 Feb 2012 22:07:33 +0000
parents 2de537641f94
children
comparison
equal deleted inserted replaced
9480:954f2f00d782 9481:d84d2fea3c90
1176 /* 1176 /*
1177 Extract integer and decimal part. 1177 Extract integer and decimal part.
1178 */ 1178 */
1179 1179
1180 fp_uint i = num >> x.decsize; 1180 fp_uint i = num >> x.decsize;
1181 fp_uint d = (num & ((x.filter >> x.intsize+1) & x.filter)); 1181 fp_uint d = (num & ((x.filter >> (x.intsize+1)) & x.filter));
1182 1182
1183 /* 1183 /*
1184 Print sign. 1184 Print sign.
1185 */ 1185 */
1186 1186