[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Mon Jul 5 13:22:07 CEST 2010


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/07/05 13:22:07

Modified files:
	cm3/m3-libs/m3core/src/float/IEEE/: LongFloat.m3 

Log message:
	../src/float/IEEE/LongFloat.m3: In function 'LongFloat__Logb':
	../src/float/IEEE/LongFloat.m3:35: warning: 'M3_CtKayy_ans' is used uninitialized in this function
	../src/float/IEEE/LongFloat.m3: In function 'LongFloat__NextAfter':
	../src/float/IEEE/LongFloat.m3:81: warning: 'M3_CtKayy_z' is used uninitialized in this function
	
	Not really. Initialize them to 0.
	There is probably a better fix here, something like:
	NextAfter: RETURN LOOPHOLE(Rep.T{sign := yy.sign, exponent := 0,
	significand0 := 0, significand1 := 1}, T)
	Logb: RETURN LOOPHOLE (Log_of_zero, T);




More information about the M3commit mailing list