1 2012-02-01 Zefram <zefram@fysh.org>
3 * Don't declare "tan" operator overloading on Math::Complex
4 objects, because there is no such overloading type [rt.cpan.org
7 * Remove execute bit from test scripts in CPAN tarball.
9 * Release Math::Complex 1.59 + Math::Trig 1.23.
11 2011-06-21 Zefram <zefram@fysh.org>
13 * Declare package variables with "our" rather than "use vars".
15 * Corresponding to "our" usage, check for minimum Perl version
18 * Remove $ENV{PERL_CORE} logic from test suite, which is no
19 longer desired in the core.
21 * In test suite, remove obsolete and now-incomplete handling of
22 unavailability of Test::More.
24 * Declare module dependencies.
26 * Release Math::Complex 1.58 + Math::Trig 1.22.
28 2011-05-03 Zefram <zefram@fysh.org>
30 * Add copy constructor and arrange for it to be called
31 appropriately, problem found by David Madore and Alexandr
34 * Correctly format polarwise when a numeric format specifier is
35 given, problem found by TomC.
37 * More stable great_circle_direction algorithm, problem found
40 * Release Math::Complex 1.57 + Math::Trig 1.21.
42 2009-02-08 Jarkko Hietaniemi <jhi@iki.fi>
44 * Fix qw(abs cos exp log sin sqrt) without argument, problem
45 found by Steffen Mueller, 5.10-aware (lexical $_) fix by Abigail.
47 * Release Math::Complex 1.56 + Math::Trig 1.20.
49 2008-12-27 Jarkko Hietaniemi <jhi@iki.fi>
51 * Resolve rt.cpan.org report:
52 "#39045: great_circle_direction gives wrong answer if 5th argument is supplied"
53 by calling great_circle_distance() with an explicit argument
54 list in great_circle_direction().
56 * Release Math::Complex 1.55 + Math::Trig 1.19.
58 2008-04-04 Jarkko Hietaniemi <jhi@iki.fi>
60 * The SIGFPE catcher in Complex.pm and Trig.t was { }, not sub { }.
62 * Shuffle the Inf-guessing guesses a bit to try infinities first,
63 and also 2**99999 before exp(99999), seems to be more reliable
64 for generating the infinity for some odd reason (the ** is
65 implemented via exp() anyway?)
67 * In cosh() and sinh() more robustly produce Inf() when needed,
68 even when exp() seems to "stick" into DBL_MAX and not go to Inf.
70 * Release Math::Complex 1.54 + Math::Trig 1.18.
72 2008-04-01 Jarkko Hietaniemi <jhi@iki.fi>
74 * Resolved rt.cpan.org report:
75 "#34605: Math::Trig(3pm) man page feedback"
76 (Trig.pm talked of "arcus hyperbolic sine", which is wrong,
77 it is either "area hyperbolic sine" or "inverse hyperbolic sine")
79 * Tweaked also the code comments a bit to speak consistently of
80 "area/inverse hyperbolic ..."
82 * Resolved rt.cpan.org report:
83 "#34269: Math::Trig::great_circle_destination"
84 (One cannot combine the results great_circle_distance(A, B) and
85 great_circle_direction(A, B) to get great_circle_destination(A, ...)
86 to return B, because the bearing keeps changing in the general case)
88 * Release Math::Complex 1.53 + Math::Trig 1.17.
90 2008-02-11 Jarkko Hietaniemi <jhi@iki.fi>
92 * Duh. Forgot 128-bit option from the %DBL_MAX table.
94 * Release Math::Complex 1.52 + Math::Trig 1.16.
96 2008-02-10 Jarkko Hietaniemi <jhi@iki.fi>
98 * Make the nv max detection to work also with
99 long doubles, reported by Nicholas Clark
100 [core perl change #33268]
102 * Release Math::Complex 1.51 + Math::Trig 1.15.
103 (1.50 skipped because of "1.5" idiocy.)
105 2008-04-04 Jarkko Hietaniemi <jhi@iki.fi>
107 * The debugging output in Complex.pm BEGIN was not nice:
108 remove that, resolving rt.cpan.org #32919.
110 * Make the detecting of Infinity even more relaxed:
111 just be happy with defined() and "big enough".
112 (Switch the '1e999' as last resort, though.)
114 * Release Math::Complex 1.49 + Math::Trig 1.14.
116 2008-01-29 Jarkko Hietaniemi <jhi@iki.fi>
118 * In HP-UX the infinity is stringified as "++" and
119 the negative infinity as "--", fix from H. Merijn Brand.
121 * Release Math::Complex 1.48 + Math::Trig 1.13.
123 2008-01-16 Jarkko Hietaniemi <jhi@iki.fi>
125 * The great circle tests with small angles didn't work
126 with long doubles in Mac OS X, reported by conrad.
127 Oh, the joy of floating point. Fudged the test hopefully enough.
128 Could special case going from point A to point A,
129 but that would be cheating. (For really small movements
130 could also just do Pythagorean plane distance.)
132 * Release Math::Complex 1.47 + Math::Trig 1.12.
134 2008-01-16 Jarkko Hietaniemi <jhi@iki.fi>
136 * Fix a typo in the asin_real/acos_real documentation
137 noticed by Alexej Sveshnikov.
139 * Release Math::Complex 1.46 + Math::Trig 1.11.
141 2008-01-15 Jarkko Hietaniemi <jhi@iki.fi>
143 * Address [rt.cpan.org #32291] Wrong (Math::Complex) results in great_circle family of functions
144 Fix gratefully received from the reporter of the bug,
147 * Added the two new interfaces added by the fix for the
148 rt.cpan.org #32291, asin_real() and acos_real(), also
149 to the public interface.
151 * Release Math::Complex 1.45 + Math::Trig 1.10.
153 2008-01-11 Jarkko Hietaniemi <jhi@iki.fi>
155 * Address rt.cpan.org #27186: Shadowed By the Core Version
156 by adding INSTALLDIRS => 'perl' to Makefile.PL.
158 * Ignore SIGFPE in Trig.t when doing arithmetics with
159 infinities (avoids a coredump in netbsd-alpha, found
160 by David Cantrell). Document this fun.
162 * Make Math::Complex and Math::Trig documentations to
165 * Release Math::Complex 1.44 + Math::Trig 1.09.
167 2008-01-09 Jarkko Hietaniemi <jhi@iki.fi>
169 * sinh(1e4) was not enough to go to infinity in AMD64
170 with long doubles (sinh(1e5) was), and test.pl:is()
171 didn't work for infinities (subtle overloading issue.)
172 Fix from Nicholas Clark.
174 * Release Math::Complex 1.43 + Math::Trig 1.08.
176 2008-01-07 Jarkko Hietaniemi <jhi@iki.fi>
178 * The infinity detection was wrong for Microsoft libc,
179 there infinity is '1.#INF'. Now made the detection
180 hopefully much more robust.
182 * Release Math::Complex 1.42 + Math::Trig 1.07.
184 2008-01-06 Jarkko Hietaniemi <jhi@iki.fi>
186 * PAUSE upload had some issues which messed up 1.39 upload,
187 reissue after reviewing (and fixing) the diffs.
189 * Release Math::Complex 1.41 (1.40 skipped because
190 of silly "1.4.tar.gz" feature) + Math::Trig 1.07.
191 [deleted from CPAN because broken in Win32]
193 2008-01-06 Jarkko Hietaniemi <jhi@iki.fi>
195 * Add the standard "same terms as Perl itself" license
196 to both Complex.pm and Trig.pm.
198 * Add Inf() as an exportable sub, it returns the infinity
199 (or the best floating double imitation of it).
201 * Make the BEGIN block of Complex.pm croak if it cannot
202 find an infinity. This may be deadly on some platforms
203 but then again, Complex.pm has returned infinities for
206 * tanh(a big enough number) was returning NaN in Unix and 1+NaN
207 in Windows when the right answer is 1 (for IEEE doubles
208 the limit seemed to be 709 vs 710). Added tests for
209 sinh/cosh/tanh/sech/csch for 100/-100, and for sinh/cosh
210 with 1e4 returning Inf(). Reported by Roberto Congiu.
212 * Added sanity check tests to Trig.t for all the trigonometric
213 and hyperbolic functions (staying in real axis, not going to
216 * Release Math::Complex 1.39 + Math::Trig 1.06.
217 [deleted from CPAN because of PAUSE upload problems]
219 2007-12-30 Jarkko Hietaniemi <jhi@iki.fi>
221 * The example for great_circle_waypoint() had latitude and
222 longitude switched; reported by Chris Heys.
224 * Cosmetic changes in test files.
226 * Release Math::Complex 1.38 + Math::Trig 1.05.
228 2007-01-21 Jarkko Hietaniemi <jhi@iki.fi>
230 * great_circle_waypoint() was broken (the latitudes
231 were garbage); report and fix by Uwe Girlich.
233 * local()ize $! in the BEGIN block when looking for Inf.
235 * Release Math::Complex 1.37.
237 2006-07-04 Jarkko Hietaniemi <jhi@iki.fi>
239 * Move the pi-constants from Math::Trig to Math::Complex.
241 * Hide some of the internal-use-only functions/methods
242 by prepending an underscore to the names.
244 * Update Dan Lewart's email address.
246 * Introduce pod.t and pod-coverage.t; make the tests
247 to be correctly skipped if Test::More or Test::Pod::Coverage
254 * Grab the Math::Complex and Math::Trig changes from
255 the Perl 5 Perforce repository (see below).
257 * CPAN release Math::Complex 1.36 + Math::Trig 1.04.
259 Changes below this are changes of the Perl 5 Perforce repository
260 that somehow touched Math::Complex, Math::Trig, and/or their tests.
261 They brought Math::Complex to 1.35 and Math::Trig to 1.03,
262 after which Math::Complex and Math::Trig were CPANized as 1.36 and 1.04.
264 [26219] on 2005/11/28 by stevep@stevep-mccoy
266 Subject: [PATCH] Math::Trig: blead and maint (doc patch only): s/Bay/Gulf/ and do away with bad quotes
267 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
268 Date: Sun, 27 Nov 2005 23:04:31 +0200 (EET)
269 Message-Id: <20051127210431.F1D2C6CF55@ugli.hut.fi>
271 [25414] on 2005/09/14 by rgs@bloom
273 Subject: [PATCH] Math::Complex and Math::Trig updates (Re: [perl #37117] Math::Complex atan2 bug)
274 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
275 Date: Wed, 14 Sep 2005 09:26:11 +0300
276 Message-ID: <4327C283.80706@gmail.com>
278 [19376] on 2003/05/02 by jhi@kosh
280 great_circle_direction() was broken,
281 reported by Alexander Becher.
283 [18412] on 2003/01/03 by hv@hv-crypt.org
285 Integrate from maint-5.8 #18348:
286 Make Math::Trig a little bit more better behaved module citizen.
288 [17197] on 2002/06/12 by jhi@alpha
290 Test relying on undefined behaviour of atan2(0, 0)
291 (valiantly debugged by Mark Lutz).
293 [14508] on 2002/01/31 by jhi@alpha
295 Daniel S. Lewart adopts the Math::Complex.
297 [14507] on 2002/01/31 by jhi@alpha
299 More Complex DWIMmery.
301 [12954] on 2001/11/12 by jhi@alpha
303 Subject: [PATCH] a few typo fixes
304 From: Jeffrey Friedl <jfriedl@yahoo.com>
305 Date: Sun, 11 Nov 2001 21:15:18 -0800 (PST)
306 Message-Id: <200111120515.fAC5FIc74795@ventrue.corp.yahoo.com>
308 Patching README.foo instead of pod/perlfoo.pod,
309 not patching Math::BigInt (Tels will take care of that),
310 dropping broken hv.c and sv.h patches, patching libnetcfg.PL
311 and perldoc.PL instead of libnetcfg and perldoc, patching
312 ext/Digest/MD5/t/files.t since MD5.pm was changed.
314 [12113] on 2001/09/21 by ams@ams-lustre
316 Subject: [PATCH] avoid v-strings with require/use
317 From: Ronald J Kimball <rjk@linguist.Thayer.dartmouth.edu>
318 Date: Fri, 21 Sep 2001 12:34:40 -0400
319 Message-Id: <20010921123440.A148500@linguist.thayer.dartmouth.edu>
321 [12041] on 2001/09/16 by jhi@alpha
323 Change use|require 5.005_64 to use|require 5.6.1.
325 [11016] on 2001/06/29 by jhi@alpha
327 Bump up the VERSIONs of modules that have changed since 5.6.0,
328 the modules found using a script written by Larry Schatzer Jr.
330 [10676] on 2001/06/18 by jhi@alpha
332 The Grand Trek: move the *.t files from t/ to lib/ and ext/.
333 No doubt I made some mistakes like missed some files or
334 misnamed some files. The naming rules were more or less:
335 (1) if the module is from CPAN, follows its ways, be it
337 (2) otherwise if there are multiple tests for a module
339 (3) otherwise if there's only one test put it in Module.t
340 (4) helper files go to module/ (locale, strict, warnings)
341 (5) use longer filenames now that we can (but e.g. the
342 compat-0.6.t and the Text::Balanced test files still
343 were renamed to be more civil against the 8.3 people)
344 installperl was updated appropriately not to install the
345 *.t files or the help files from under lib.
347 TODO: some helper files still remain under t/ that could
348 follow their 'masters'. UPDATE: On second thoughts, why
349 should they. They can continue to live under t/lib, and
350 in fact the locale/strict/warnings helpers that were moved
351 could be moved back. This way the amount of non-installable
352 stuff under lib/ stays smaller.
354 [9504] on 2001/04/01 by jhi@alpha
356 Add great_circle_direction().
358 [9007] on 2001/03/03 by jhi@alpha
360 Integrate change #9006 from maintperl to mainline,
361 more robust quest for the infinite.
363 [8722] on 2001/02/09 by jhi@alpha
365 The Im() function wasn't returning zero for non-Math::Complex
366 arguments. The bug reported by John Gamble.
368 [7561] on 2000/11/05 by jhi@alpha
372 [6857] on 2000/08/28 by jhi@alpha
374 display_format used as a class method without arguments was broken,
377 Subject: Math::Complex->display_format() sets style to 'Math::Complex'
378 From: Yasushi Nakajima <sey@san.p.kyoto.jkc.co.jp>
379 Date: Mon, 28 Aug 2000 16:38:08 +0900 (JST)
380 Message-Id: <200008280738.QAA00215@san.p.kyoto.jkc.co.jp>
382 [6750] on 2000/08/21 by jhi@alpha
384 Unicos/mk requires elaborate paranoia.
386 [6689] on 2000/08/18 by jhi@alpha
388 Fix the lib/complex failure of
390 From: abigail@foad.org
391 Subject: [ID 20000814.005] Not OK: perl v5.6.0 on i686-linux-64int 2.2.13
392 Date: 15 Aug 2000 04:06:38 -0000
393 Message-Id: <20000815040638.8524.qmail@foad.org>
395 Linux long double accuracy issue: something that
396 when printed with %g looks like "2" but int() of it is 1.
398 [6827] on 2000/08/25 by jhi@alpha
400 Support preserving extremely big/small angles.
402 [6076] on 2000/05/06 by gsar@auger
404 integrate cfgperl contents into mainline
406 [5974] on 2000/04/27 by gsar@auger
408 change#4197 somehow missed initializing PL_errors, meaning
409 sytax error queueing wasn't working outside eval"" at all;
410 also fixed eval"" to localize PL_error_count, so that compile-time
411 eval's don't clobber the error state of the outer context
413 [5954] on 2000/04/26 by gsar@auger
415 integrate cfgperl contents into mainline
417 [5641] on 2000/03/11 by gsar@auger
419 integrate cfgperl contents into mainline
421 [5611] on 2000/03/08 by gsar@auger
423 integrate cfgperl changes into mainline
425 [5507] on 2000/03/04 by gsar@auger
427 more whitespace removal (from Michael G Schwern)
429 [4874] on 2000/01/24 by gsar@auger
431 fix typos; avoid use constant for lowercase constants (produces
434 [4860] on 2000/01/23 by gsar@auger
436 s/use vars/our/g modules that aren't independently maintained on CPAN
438 [4604] on 1999/12/01 by gsar@auger
440 email address changes
442 [4008] on 1999/08/20 by gsar@auger
444 integrate cfgperl contents into mainline
446 [2830] on 1999/02/08 by gsar@sparc26
448 integrate cfgperl changes into mainline
451 [2620] on 1999/01/17 by gsar@aatma
453 integrate cfgperl changes into mainline, fix conflicts
455 [2219] on 1998/11/08 by gsar@aatma
457 integrate cfgperl changes into mainline
459 [1760] on 1998/08/08 by gsar@aatma
461 integrate maint-5.005 changes into mainline
463 [1357] on 1998/07/07 by gsar@aatma
465 doc tweaks suggested by Abigail, M.J.T. Guy, and Larry Wall
467 [1267] on 1998/06/30 by gsar@aatma
469 add patch to integrate Math::Trig::Radial into Math::Trig
470 From: Jarkko Hietaniemi <jhi@iki.fi>
471 Date: Mon, 29 Jun 1998 16:28:53 +0300 (EET DST)
472 Message-Id: <199806291328.QAA16916@alpha.hut.fi>
473 Subject: [PATCH] 5.004_68 (or 5.004_04): radial trig
475 [1235] on 1998/06/28 by gsar@aatma
478 From: Jarkko Hietaniemi <jhi@iki.fi>
479 Date: Wed, 24 Jun 1998 15:19:05 +0300 (EET DST)
480 Message-Id: <199806241219.PAA04061@alpha.hut.fi>
481 Subject: [PATCH] 5.004_68: Complex.pm, complex.t
483 [476] on 1998/02/06 by mbeattie@localhost
485 From: Jarkko Hietaniemi <jhi@iki.fi>
486 Subject: [PATCH] almost OK: perl 5.00457 on i386-freebsd-thread 3.0
487 Date: Wed, 4 Feb 1998 12:59:47 +0200 (EET)
488 Subject: Re: [PATCH] 5.004_04 and 5.004_57: Complex.pm and complex.t
489 Date: Thu, 5 Feb 1998 18:08:20 +0200 (EET)
491 [439] on 1998/01/27 by mbeattie@localhost
493 Integrate ansi branch into mainline (resolve -ay).
495 [296] on 1997/11/25 by mbeattie@localhost
497 Integrate from ansi branch to mainline.
499 [137] on 1997/10/16 by mbeattie@localhost
501 Merge maint-5.004 branch (5.004_04) with mainline.
503 [114] on 1997/10/08 by mbeattie@localhost
505 Merge maint-5.004 branch (5.004_03) with mainline.
506 MANIFEST is out of sync.
508 [77] on 1997/09/29 by mbeattie@localhost
510 Start merge with maint-5.004 branch by creating an ancestral
511 branch point via a fake resolution with the maint-merge branch.
512 See Perforce Tech Note 9 for details.
514 [18] on 1997/05/25 by mbeattie@localhost
516 First stab at 5.003 -> 5.004 integration.
518 [1] on 1997/03/28 by mbeattie@localhost