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