This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update perlfaq to CPAN version 5.0150043
[perl5.git] / cpan / Math-Complex / ChangeLog
1 2012-02-01  Zefram  <zefram@fysh.org>
2
3         * Don't declare "tan" operator overloading on Math::Complex
4           objects, because there is no such overloading type [rt.cpan.org
5           #74288].
6
7         * Remove execute bit from test scripts in CPAN tarball.
8
9         * Release Math::Complex 1.59 + Math::Trig 1.23.
10
11 2011-06-21  Zefram  <zefram@fysh.org>
12
13         * Declare package variables with "our" rather than "use vars".
14
15         * Corresponding to "our" usage, check for minimum Perl version
16           5.006.
17
18         * Remove $ENV{PERL_CORE} logic from test suite, which is no
19           longer desired in the core.
20
21         * In test suite, remove obsolete and now-incomplete handling of
22           unavailability of Test::More.
23
24         * Declare module dependencies.
25
26         * Release Math::Complex 1.58 + Math::Trig 1.22.
27
28 2011-05-03  Zefram  <zefram@fysh.org>
29
30         * Add copy constructor and arrange for it to be called
31           appropriately, problem found by David Madore and Alexandr
32           Ciornii.
33
34         * Correctly format polarwise when a numeric format specifier is
35           given, problem found by TomC.
36
37         * More stable great_circle_direction algorithm, problem found
38           by Daniel Burr.
39
40         * Release Math::Complex 1.57 + Math::Trig 1.21.
41
42 2009-02-08  Jarkko Hietaniemi  <jhi@iki.fi>
43
44         * Fix qw(abs cos exp log sin sqrt) without argument, problem
45           found by Steffen Mueller, 5.10-aware (lexical $_) fix by Abigail.
46         
47         * Release Math::Complex 1.56 + Math::Trig 1.20.
48         
49 2008-12-27  Jarkko Hietaniemi  <jhi@iki.fi>
50
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().
55         
56         * Release Math::Complex 1.55 + Math::Trig 1.19.
57         
58 2008-04-04  Jarkko Hietaniemi  <jhi@iki.fi>
59
60         * The SIGFPE catcher in Complex.pm and Trig.t was { }, not sub { }.
61
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?)
66         
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.
69         
70         * Release Math::Complex 1.54 + Math::Trig 1.18.
71         
72 2008-04-01  Jarkko Hietaniemi  <jhi@iki.fi>
73
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")
78
79         * Tweaked also the code comments a bit to speak consistently of
80           "area/inverse hyperbolic ..."
81
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)
87         
88         * Release Math::Complex 1.53 + Math::Trig 1.17.
89         
90 2008-02-11  Jarkko Hietaniemi  <jhi@iki.fi>
91
92         * Duh. Forgot 128-bit option from the %DBL_MAX table.
93
94         * Release Math::Complex 1.52 + Math::Trig 1.16.
95         
96 2008-02-10  Jarkko Hietaniemi  <jhi@iki.fi>
97
98         * Make the nv max detection to work also with
99           long doubles, reported by Nicholas Clark
100           [core perl change #33268]
101
102         * Release Math::Complex 1.51 + Math::Trig 1.15.
103           (1.50 skipped because of "1.5" idiocy.)
104         
105 2008-04-04  Jarkko Hietaniemi  <jhi@iki.fi>
106
107         * The debugging output in Complex.pm BEGIN was not nice:
108           remove that, resolving rt.cpan.org #32919.
109
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.)
113         
114         * Release Math::Complex 1.49 + Math::Trig 1.14.
115         
116 2008-01-29  Jarkko Hietaniemi  <jhi@iki.fi>
117
118         * In HP-UX the infinity is stringified as "++" and
119           the negative infinity as "--", fix from H. Merijn Brand.
120         
121         * Release Math::Complex 1.48 + Math::Trig 1.13.
122         
123 2008-01-16  Jarkko Hietaniemi  <jhi@iki.fi>
124
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.)
131         
132         * Release Math::Complex 1.47 + Math::Trig 1.12.
133         
134 2008-01-16  Jarkko Hietaniemi  <jhi@iki.fi>
135
136         * Fix a typo in the asin_real/acos_real documentation
137           noticed by Alexej Sveshnikov.
138         
139         * Release Math::Complex 1.46 + Math::Trig 1.11.
140         
141 2008-01-15  Jarkko Hietaniemi  <jhi@iki.fi>
142
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,
145           Alexej Sveshnikov.
146
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.
150         
151         * Release Math::Complex 1.45 + Math::Trig 1.10.
152         
153 2008-01-11  Jarkko Hietaniemi  <jhi@iki.fi>
154
155         * Address rt.cpan.org #27186: Shadowed By the Core Version
156           by adding INSTALLDIRS => 'perl' to Makefile.PL.
157         
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.
161
162         * Make Math::Complex and Math::Trig documentations to
163           refer to each other.
164         
165         * Release Math::Complex 1.44 + Math::Trig 1.09.
166         
167 2008-01-09  Jarkko Hietaniemi  <jhi@iki.fi>
168
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.
173         
174         * Release Math::Complex 1.43 + Math::Trig 1.08.
175         
176 2008-01-07  Jarkko Hietaniemi  <jhi@iki.fi>
177
178         * The infinity detection was wrong for Microsoft libc,
179           there infinity is '1.#INF'.  Now made the detection
180           hopefully much more robust.
181         
182         * Release Math::Complex 1.42 + Math::Trig 1.07.
183         
184 2008-01-06  Jarkko Hietaniemi  <jhi@iki.fi>
185
186         * PAUSE upload had some issues which messed up 1.39 upload,
187           reissue after reviewing (and fixing) the diffs.
188         
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]
192         
193 2008-01-06  Jarkko Hietaniemi  <jhi@iki.fi>
194
195         * Add the standard "same terms as Perl itself" license
196           to both Complex.pm and Trig.pm.
197
198         * Add Inf() as an exportable sub, it returns the infinity
199           (or the best floating double imitation of it).
200
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
204           quite some time now.
205         
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.
211
212         * Added sanity check tests to Trig.t for all the trigonometric
213           and hyperbolic functions (staying in real axis, not going to
214           complex plane).
215         
216         * Release Math::Complex 1.39 + Math::Trig 1.06.
217           [deleted from CPAN because of PAUSE upload problems]
218         
219 2007-12-30  Jarkko Hietaniemi  <jhi@iki.fi>
220
221         * The example for great_circle_waypoint() had latitude and
222           longitude switched; reported by Chris Heys.
223         
224         * Cosmetic changes in test files.
225         
226         * Release Math::Complex 1.38 + Math::Trig 1.05.
227         
228 2007-01-21  Jarkko Hietaniemi  <jhi@iki.fi>
229
230         * great_circle_waypoint() was broken (the latitudes
231           were garbage); report and fix by Uwe Girlich.
232         
233         * local()ize $! in the BEGIN block when looking for Inf.
234         
235         * Release Math::Complex 1.37.
236         
237 2006-07-04  Jarkko Hietaniemi  <jhi@iki.fi>
238
239         * Move the pi-constants from Math::Trig to Math::Complex.
240
241         * Hide some of the internal-use-only functions/methods
242           by prepending an underscore to the names.
243
244         * Update Dan Lewart's email address.
245         
246         * Introduce pod.t and pod-coverage.t; make the tests
247           to be correctly skipped if Test::More or Test::Pod::Coverage
248           are not available.
249
250         * Tiny doc tweaks.
251
252         * Add a TODO file.
253         
254         * Grab the Math::Complex and Math::Trig changes from
255           the Perl 5 Perforce repository (see below).
256         
257         * CPAN release Math::Complex 1.36 + Math::Trig 1.04. 
258         
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.
263         
264         [26219] on 2005/11/28 by stevep@stevep-mccoy
265
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>
270         
271         [25414] on 2005/09/14 by rgs@bloom
272
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>
277         
278         [19376] on 2003/05/02 by jhi@kosh
279
280         great_circle_direction() was broken,
281         reported by Alexander Becher.
282         
283         [18412] on 2003/01/03 by hv@hv-crypt.org
284
285         Integrate from maint-5.8 #18348:
286         Make Math::Trig a little bit more better behaved module citizen.
287         
288         [17197] on 2002/06/12 by jhi@alpha
289
290         Test relying on undefined behaviour of atan2(0, 0)
291         (valiantly debugged by Mark Lutz).
292         
293         [14508] on 2002/01/31 by jhi@alpha
294
295         Daniel S. Lewart adopts the Math::Complex.
296         
297         [14507] on 2002/01/31 by jhi@alpha
298
299         More Complex DWIMmery.
300         
301         [12954] on 2001/11/12 by jhi@alpha
302
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>
307         
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.
313         
314         [12113] on 2001/09/21 by ams@ams-lustre
315
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>
320         
321         [12041] on 2001/09/16 by jhi@alpha
322
323         Change use|require 5.005_64 to use|require 5.6.1.
324         
325         [11016] on 2001/06/29 by jhi@alpha
326
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.
329         
330         [10676] on 2001/06/18 by jhi@alpha
331
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
336             t/*.t or test.pl.
337         (2) otherwise if there are multiple tests for a module
338             put them in a t/
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.
346         
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.
353         
354         [9504] on 2001/04/01 by jhi@alpha
355
356         Add great_circle_direction().
357         
358         [9007] on 2001/03/03 by jhi@alpha
359
360         Integrate change #9006 from maintperl to mainline,
361         more robust quest for the infinite.
362         
363         [8722] on 2001/02/09 by jhi@alpha
364
365         The Im() function wasn't returning zero for non-Math::Complex
366         arguments.  The bug reported by John Gamble.
367         
368         [7561] on 2000/11/05 by jhi@alpha
369
370         Add =pod to be tidy.
371         
372         [6857] on 2000/08/28 by jhi@alpha
373
374         display_format used as a class method without arguments was broken,
375         reported in
376         
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>
381         
382         [6750] on 2000/08/21 by jhi@alpha
383
384         Unicos/mk requires elaborate paranoia.
385         
386         [6689] on 2000/08/18 by jhi@alpha
387
388         Fix the lib/complex failure of
389         
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> 
394         
395         Linux long double accuracy issue: something that
396         when printed with %g looks like "2" but int() of it is 1.
397         
398         [6827] on 2000/08/25 by jhi@alpha
399
400         Support preserving extremely big/small angles.
401         
402         [6076] on 2000/05/06 by gsar@auger
403
404         integrate cfgperl contents into mainline
405         
406         [5974] on 2000/04/27 by gsar@auger
407
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
412         
413         [5954] on 2000/04/26 by gsar@auger
414
415         integrate cfgperl contents into mainline
416         
417         [5641] on 2000/03/11 by gsar@auger
418
419         integrate cfgperl contents into mainline
420         
421         [5611] on 2000/03/08 by gsar@auger
422
423         integrate cfgperl changes into mainline
424         
425         [5507] on 2000/03/04 by gsar@auger
426
427         more whitespace removal (from Michael G Schwern)
428         
429         [4874] on 2000/01/24 by gsar@auger
430
431         fix typos; avoid use constant for lowercase constants (produces
432         warnings now)
433         
434         [4860] on 2000/01/23 by gsar@auger
435
436         s/use vars/our/g modules that aren't independently maintained on CPAN
437         
438         [4604] on 1999/12/01 by gsar@auger
439
440         email address changes
441         
442         [4008] on 1999/08/20 by gsar@auger
443
444         integrate cfgperl contents into mainline
445         
446         [2830] on 1999/02/08 by gsar@sparc26
447
448         integrate cfgperl changes into mainline
449
450         
451         [2620] on 1999/01/17 by gsar@aatma
452
453         integrate cfgperl changes into mainline, fix conflicts
454         
455         [2219] on 1998/11/08 by gsar@aatma
456
457         integrate cfgperl changes into mainline
458         
459         [1760] on 1998/08/08 by gsar@aatma
460
461         integrate maint-5.005 changes into mainline
462         
463         [1357] on 1998/07/07 by gsar@aatma
464
465         doc tweaks suggested by Abigail, M.J.T. Guy, and Larry Wall
466         
467         [1267] on 1998/06/30 by gsar@aatma
468
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
474         
475         [1235] on 1998/06/28 by gsar@aatma
476
477         Complex.pm update
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
482         
483         [476] on 1998/02/06 by mbeattie@localhost
484
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)
490         
491         [439] on 1998/01/27 by mbeattie@localhost
492
493         Integrate ansi branch into mainline (resolve -ay).
494         
495         [296] on 1997/11/25 by mbeattie@localhost
496
497         Integrate from ansi branch to mainline.
498         
499         [137] on 1997/10/16 by mbeattie@localhost
500
501         Merge maint-5.004 branch (5.004_04) with mainline.
502         
503         [114] on 1997/10/08 by mbeattie@localhost
504
505         Merge maint-5.004 branch (5.004_03) with mainline.
506         MANIFEST is out of sync.
507         
508         [77] on 1997/09/29 by mbeattie@localhost
509
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.
513         
514         [18] on 1997/05/25 by mbeattie@localhost
515
516         First stab at 5.003 -> 5.004 integration.
517         
518         [1] on 1997/03/28 by mbeattie@localhost
519
520         Perl 5.003 check-in
521