This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: [PATCH] Complex.polar(x,0) should produce a RealNum
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Thu, 18 Dec 2014 10:10:42 -0800
- Subject: Re: [PATCH] Complex.polar(x,0) should produce a RealNum
- Authentication-results: sourceware.org; auth=none
- References: <4FC5E732-B7A5-45FB-9872-1E6091518BC3 at theptrgroup dot com>
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/