1 2011-06-21 Zefram <zefram@fysh.org>
3 * Declare package variables with "our" rather than "use vars".
5 * Corresponding to "our" usage, check for minimum Perl version
8 * Remove $ENV{PERL_CORE} logic from test suite, which is no
9 longer desired in the core.
11 * In test suite, remove obsolete and now-incomplete handling of
12 unavailability of Test::More.
14 * Declare module dependencies.
16 * Release Math::Complex 1.58 + Math::Trig 1.22.
18 2011-05-03 Zefram <zefram@fysh.org>
20 * Add copy constructor and arrange for it to be called
21 appropriately, problem found by David Madore and Alexandr
24 * Correctly format polarwise when a numeric format specifier is
25 given, problem found by TomC.
27 * More stable great_circle_direction algorithm, problem found
30 * Release Math::Complex 1.57 + Math::Trig 1.21.
32 2009-02-08 Jarkko Hietaniemi <jhi@iki.fi>
34 * Fix qw(abs cos exp log sin sqrt) without argument, problem
35 found by Steffen Mueller, 5.10-aware (lexical $_) fix by Abigail.
37 * Release Math::Complex 1.56 + Math::Trig 1.20.
39 2008-12-27 Jarkko Hietaniemi <jhi@iki.fi>
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().
46 * Release Math::Complex 1.55 + Math::Trig 1.19.
48 2008-04-04 Jarkko Hietaniemi <jhi@iki.fi>
50 * The SIGFPE catcher in Complex.pm and Trig.t was { }, not sub { }.
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?)
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.
60 * Release Math::Complex 1.54 + Math::Trig 1.18.
62 2008-04-01 Jarkko Hietaniemi <jhi@iki.fi>
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")
69 * Tweaked also the code comments a bit to speak consistently of
70 "area/inverse hyperbolic ..."
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)
78 * Release Math::Complex 1.53 + Math::Trig 1.17.
80 2008-02-11 Jarkko Hietaniemi <jhi@iki.fi>
82 * Duh. Forgot 128-bit option from the %DBL_MAX table.
84 * Release Math::Complex 1.52 + Math::Trig 1.16.
86 2008-02-10 Jarkko Hietaniemi <jhi@iki.fi>
88 * Make the nv max detection to work also with
89 long doubles, reported by Nicholas Clark
90 [core perl change #33268]
92 * Release Math::Complex 1.51 + Math::Trig 1.15.
93 (1.50 skipped because of "1.5" idiocy.)
95 2008-04-04 Jarkko Hietaniemi <jhi@iki.fi>
97 * The debugging output in Complex.pm BEGIN was not nice:
98 remove that, resolving rt.cpan.org #32919.
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.)
104 * Release Math::Complex 1.49 + Math::Trig 1.14.
106 2008-01-29 Jarkko Hietaniemi <jhi@iki.fi>
108 * In HP-UX the infinity is stringified as "++" and
109 the negative infinity as "--", fix from H. Merijn Brand.
111 * Release Math::Complex 1.48 + Math::Trig 1.13.
113 2008-01-16 Jarkko Hietaniemi <jhi@iki.fi>
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.)
122 * Release Math::Complex 1.47 + Math::Trig 1.12.
124 2008-01-16 Jarkko Hietaniemi <jhi@iki.fi>
126 * Fix a typo in the asin_real/acos_real documentation
127 noticed by Alexej Sveshnikov.
129 * Release Math::Complex 1.46 + Math::Trig 1.11.
131 2008-01-15 Jarkko Hietaniemi <jhi@iki.fi>
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,
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.
141 * Release Math::Complex 1.45 + Math::Trig 1.10.
143 2008-01-11 Jarkko Hietaniemi <jhi@iki.fi>
145 * Address rt.cpan.org #27186: Shadowed By the Core Version
146 by adding INSTALLDIRS => 'perl' to Makefile.PL.
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.
152 * Make Math::Complex and Math::Trig documentations to
155 * Release Math::Complex 1.44 + Math::Trig 1.09.
157 2008-01-09 Jarkko Hietaniemi <jhi@iki.fi>
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.
164 * Release Math::Complex 1.43 + Math::Trig 1.08.
166 2008-01-07 Jarkko Hietaniemi <jhi@iki.fi>
168 * The infinity detection was wrong for Microsoft libc,
169 there infinity is '1.#INF'. Now made the detection
170 hopefully much more robust.
172 * Release Math::Complex 1.42 + Math::Trig 1.07.
174 2008-01-06 Jarkko Hietaniemi <jhi@iki.fi>
176 * PAUSE upload had some issues which messed up 1.39 upload,
177 reissue after reviewing (and fixing) the diffs.
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]
183 2008-01-06 Jarkko Hietaniemi <jhi@iki.fi>
185 * Add the standard "same terms as Perl itself" license
186 to both Complex.pm and Trig.pm.
188 * Add Inf() as an exportable sub, it returns the infinity
189 (or the best floating double imitation of it).
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
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.
202 * Added sanity check tests to Trig.t for all the trigonometric
203 and hyperbolic functions (staying in real axis, not going to
206 * Release Math::Complex 1.39 + Math::Trig 1.06.
207 [deleted from CPAN because of PAUSE upload problems]
209 2007-12-30 Jarkko Hietaniemi <jhi@iki.fi>
211 * The example for great_circle_waypoint() had latitude and
212 longitude switched; reported by Chris Heys.
214 * Cosmetic changes in test files.
216 * Release Math::Complex 1.38 + Math::Trig 1.05.
218 2007-01-21 Jarkko Hietaniemi <jhi@iki.fi>
220 * great_circle_waypoint() was broken (the latitudes
221 were garbage); report and fix by Uwe Girlich.
223 * local()ize $! in the BEGIN block when looking for Inf.
225 * Release Math::Complex 1.37.
227 2006-07-04 Jarkko Hietaniemi <jhi@iki.fi>
229 * Move the pi-constants from Math::Trig to Math::Complex.
231 * Hide some of the internal-use-only functions/methods
232 by prepending an underscore to the names.
234 * Update Dan Lewart's email address.
236 * Introduce pod.t and pod-coverage.t; make the tests
237 to be correctly skipped if Test::More or Test::Pod::Coverage
244 * Grab the Math::Complex and Math::Trig changes from
245 the Perl 5 Perforce repository (see below).
247 * CPAN release Math::Complex 1.36 + Math::Trig 1.04.
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.
254 [26219] on 2005/11/28 by stevep@stevep-mccoy
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>
261 [25414] on 2005/09/14 by rgs@bloom
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>
268 [19376] on 2003/05/02 by jhi@kosh
270 great_circle_direction() was broken,
271 reported by Alexander Becher.
273 [18412] on 2003/01/03 by hv@hv-crypt.org
275 Integrate from maint-5.8 #18348:
276 Make Math::Trig a little bit more better behaved module citizen.
278 [17197] on 2002/06/12 by jhi@alpha
280 Test relying on undefined behaviour of atan2(0, 0)
281 (valiantly debugged by Mark Lutz).
283 [14508] on 2002/01/31 by jhi@alpha
285 Daniel S. Lewart adopts the Math::Complex.
287 [14507] on 2002/01/31 by jhi@alpha
289 More Complex DWIMmery.
291 [12954] on 2001/11/12 by jhi@alpha
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>
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.
304 [12113] on 2001/09/21 by ams@ams-lustre
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>
311 [12041] on 2001/09/16 by jhi@alpha
313 Change use|require 5.005_64 to use|require 5.6.1.
315 [11016] on 2001/06/29 by jhi@alpha
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.
320 [10676] on 2001/06/18 by jhi@alpha
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
327 (2) otherwise if there are multiple tests for a module
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.
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.
344 [9504] on 2001/04/01 by jhi@alpha
346 Add great_circle_direction().
348 [9007] on 2001/03/03 by jhi@alpha
350 Integrate change #9006 from maintperl to mainline,
351 more robust quest for the infinite.
353 [8722] on 2001/02/09 by jhi@alpha
355 The Im() function wasn't returning zero for non-Math::Complex
356 arguments. The bug reported by John Gamble.
358 [7561] on 2000/11/05 by jhi@alpha
362 [6857] on 2000/08/28 by jhi@alpha
364 display_format used as a class method without arguments was broken,
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>
372 [6750] on 2000/08/21 by jhi@alpha
374 Unicos/mk requires elaborate paranoia.
376 [6689] on 2000/08/18 by jhi@alpha
378 Fix the lib/complex failure of
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>
385 Linux long double accuracy issue: something that
386 when printed with %g looks like "2" but int() of it is 1.
388 [6827] on 2000/08/25 by jhi@alpha
390 Support preserving extremely big/small angles.
392 [6076] on 2000/05/06 by gsar@auger
394 integrate cfgperl contents into mainline
396 [5974] on 2000/04/27 by gsar@auger
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
403 [5954] on 2000/04/26 by gsar@auger
405 integrate cfgperl contents into mainline
407 [5641] on 2000/03/11 by gsar@auger
409 integrate cfgperl contents into mainline
411 [5611] on 2000/03/08 by gsar@auger
413 integrate cfgperl changes into mainline
415 [5507] on 2000/03/04 by gsar@auger
417 more whitespace removal (from Michael G Schwern)
419 [4874] on 2000/01/24 by gsar@auger
421 fix typos; avoid use constant for lowercase constants (produces
424 [4860] on 2000/01/23 by gsar@auger
426 s/use vars/our/g modules that aren't independently maintained on CPAN
428 [4604] on 1999/12/01 by gsar@auger
430 email address changes
432 [4008] on 1999/08/20 by gsar@auger
434 integrate cfgperl contents into mainline
436 [2830] on 1999/02/08 by gsar@sparc26
438 integrate cfgperl changes into mainline
441 [2620] on 1999/01/17 by gsar@aatma
443 integrate cfgperl changes into mainline, fix conflicts
445 [2219] on 1998/11/08 by gsar@aatma
447 integrate cfgperl changes into mainline
449 [1760] on 1998/08/08 by gsar@aatma
451 integrate maint-5.005 changes into mainline
453 [1357] on 1998/07/07 by gsar@aatma
455 doc tweaks suggested by Abigail, M.J.T. Guy, and Larry Wall
457 [1267] on 1998/06/30 by gsar@aatma
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
465 [1235] on 1998/06/28 by gsar@aatma
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
473 [476] on 1998/02/06 by mbeattie@localhost
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)
481 [439] on 1998/01/27 by mbeattie@localhost
483 Integrate ansi branch into mainline (resolve -ay).
485 [296] on 1997/11/25 by mbeattie@localhost
487 Integrate from ansi branch to mainline.
489 [137] on 1997/10/16 by mbeattie@localhost
491 Merge maint-5.004 branch (5.004_04) with mainline.
493 [114] on 1997/10/08 by mbeattie@localhost
495 Merge maint-5.004 branch (5.004_03) with mainline.
496 MANIFEST is out of sync.
498 [77] on 1997/09/29 by mbeattie@localhost
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.
504 [18] on 1997/05/25 by mbeattie@localhost
506 First stab at 5.003 -> 5.004 integration.
508 [1] on 1997/03/28 by mbeattie@localhost