This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Complex.polar(x,0) should produce a RealNum


On 12/17/2014 11:00 PM, Jamison Hope wrote:
This patch changes Complex#polar so that if its second argument (the
angle) is exact zero, then the result is a RealNum.  This makes it
consistent with how Complex#make works.

Thanks.  I checked this in.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]