[libmath-mpfr-perl] 03/05: Refresh debian/patches/spelling-errors.

gregor herrmann gregoa at debian.org
Sun Jan 14 17:06:57 UTC 2018


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libmath-mpfr-perl.

commit f3c1ee8eebc560195004e909682e9fe651f60159
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Jan 14 17:59:58 2018 +0100

    Refresh debian/patches/spelling-errors.
---
 debian/patches/spelling-errors | 100 ++++++++++++++++++++++++++++-------------
 1 file changed, 68 insertions(+), 32 deletions(-)

diff --git a/debian/patches/spelling-errors b/debian/patches/spelling-errors
index 7c19acd..d25e2eb 100644
--- a/debian/patches/spelling-errors
+++ b/debian/patches/spelling-errors
@@ -2,11 +2,29 @@ Description: Fix spelling errors
 Author: Angel Abad <angel at debian.org>
 Forwarded: yes
 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=118537
-Last-Updated: 2016-10-29
+Last-Updated: 2018-01-14
 
 --- a/MPFR.xs
 +++ b/MPFR.xs
-@@ -6731,7 +6731,7 @@
+@@ -2017,7 +2017,7 @@
+ #if MPFR_VERSION_MAJOR >= 4
+      mpfr_free_cache2((mpfr_free_cache_t) way);
+ #else
+-     croak("Rmpfr_free_cache2 not implmented with this mpfr version (%s) - need 4.0.0 or later", MPFR_VERSION_STRING);
++     croak("Rmpfr_free_cache2 not implemented with this mpfr version (%s) - need 4.0.0 or later", MPFR_VERSION_STRING);
+ #endif
+ }
+ 
+@@ -2025,7 +2025,7 @@
+ #if MPFR_VERSION_MAJOR >= 4
+      mpfr_free_pool();
+ #else
+-     croak("Rmpfr_free_pool not implmented with this mpfr version (%s) - need 4.0.0 or later", MPFR_VERSION_STRING);
++     croak("Rmpfr_free_pool not implemented with this mpfr version (%s) - need 4.0.0 or later", MPFR_VERSION_STRING);
+ #endif
+ }
+ 
+@@ -6760,7 +6760,7 @@
      croak("2nd arg to Math::MPFR::_d_bytes_fr must be 53");
  
    if(mpfr_get_prec(*str) != 53)
@@ -15,7 +33,7 @@ Last-Updated: 2016-10-29
  
    if((size_t)bits != DBL_MANT_DIG)
      croak("2nd arg (%u) supplied to Math::MPFR::_d_bytes_fr does not match DBL_MANT_DIG (%u)", bits, DBL_MANT_DIG);
-@@ -6832,7 +6832,7 @@
+@@ -6853,7 +6853,7 @@
      croak("2nd arg to Math::MPFR::_dd_bytes must be 106");
  
    if(mpfr_get_prec(*str) != 2098)
@@ -24,7 +42,7 @@ Last-Updated: 2016-10-29
  
    mpfr_init2(temp, 2098);
  
-@@ -6944,7 +6944,7 @@
+@@ -6957,7 +6957,7 @@
    }
  
    if(mpfr_get_prec(*str) != bits)
@@ -33,7 +51,7 @@ Last-Updated: 2016-10-29
  
    if((size_t)bits != LDBL_MANT_DIG)
      croak("2nd arg (%u) supplied to Math::MPFR::_ld_bytes_fr does not match LDBL_MANT_DIG (%u)", bits, LDBL_MANT_DIG);
-@@ -7050,7 +7050,7 @@
+@@ -7055,7 +7055,7 @@
      croak("2nd arg to Math::MPFR::_f128_bytes_fr must be 113");
  
    if(mpfr_get_prec(*str) != 113)
@@ -91,16 +109,7 @@ Last-Updated: 2016-10-29
    print "not ok 22\n";
 --- a/MPFR.pod
 +++ b/MPFR.pod
-@@ -119,7 +119,7 @@
-     MPFR_RNDA (numeric value = 4): Round away from zero.
- 
-    It, too, can be used with Math-MPFR-3.0 or later, but
--   will cause a fatal error iff the mpfr library against
-+   will cause a fatal error if the mpfr library against
-    which Math::MPFR is built is earlier than version 3.0.0.
- 
-     The 'round to nearest' mode works as in the IEEE
-@@ -315,7 +315,7 @@
+@@ -364,7 +364,7 @@
     Rmpfr_set_default_rounding_mode($rnd);
      Sets the default rounding mode to $rnd (where $rnd can be one of
      MPFR_RNDN, MPFR_RNDU, MPFR_RNDZ, MPFR_RNDD and MPFR_RNDA.
@@ -109,7 +118,7 @@ Last-Updated: 2016-10-29
      against mpfr-3.0.0 or later.
      The default rounding mode is to nearest initially (MPFR_RNDN).
      The default rounding mode is the rounding mode that is used in
-@@ -509,7 +509,7 @@
+@@ -570,7 +570,7 @@
      the entire string is a valid number in base $base. otherwise
      it returns -1.
      If -1 is returned:
@@ -118,7 +127,7 @@ Last-Updated: 2016-10-29
           incremented. You can query/clear/reset the value of the
           flag with (resp.) nnumflag()/clear_nnum()/set_nnum() - all
           of which are documented below (in "MISCELLANEOUS");
-@@ -683,7 +683,7 @@
+@@ -744,7 +744,7 @@
      rounded to direction $rnd. If $str was a valid number, then
      $si will be set to 0. Else it will be set to -1.
      If $si is -1 :
@@ -127,7 +136,7 @@ Last-Updated: 2016-10-29
           incremented. You can query/clear/reset the value of the
           flag with (resp.) nnumflag()/clear_nnum()/set_nnum() - all
           of which are documented below (in "MISCELLANEOUS");
-@@ -794,7 +794,7 @@
+@@ -862,7 +862,7 @@
      When built against mpfr-3.0.0 or later, this function returns the
      usual ternary value. (If $op is NaN or Inf, then the erange flag
      will be set.) When built against earlier versions of mpfr,
@@ -136,7 +145,7 @@ Last-Updated: 2016-10-29
      is returned if $op is NaN or Inf. which do not exist in 'mpf'.
  
     Rmpfr_get_q ($q, $op); # $q is a Math::GMPq object.
-@@ -926,7 +926,7 @@
+@@ -1001,7 +1001,7 @@
     $si = Rmpfr_pow($rop, $op1, $op2, $rnd);
     $si = Rmpfr_pow_z($rop, $op1, $z, $rnd);  # $z is a mpz object
      Set $rop to 2nd arg raised to 3rd arg, rounded to the directio
@@ -145,7 +154,7 @@ Last-Updated: 2016-10-29
      exact, a positive value when the result is greater than 2nd arg
      to the power 3rd arg, and a negative value when it is smaller.
      See the MPFR documentation for documentation regarding special
-@@ -1084,23 +1084,23 @@
+@@ -1159,23 +1159,23 @@
     $si = Rmpfr_tan($rop, $op, $rnd);
      Set $rop to the sine/cosine/tangent respectively of $op,
      rounded to the direction $rnd with the precision of $rop.
@@ -174,7 +183,7 @@ Last-Updated: 2016-10-29
      exact.
  
     $si = Rmpfr_acos($rop, $op, $rnd);
-@@ -1108,16 +1108,16 @@
+@@ -1183,16 +1183,16 @@
     $si = Rmpfr_atan($rop, $op, $rnd);
      Set $rop to the arc-cosine, arc-sine or arc-tangent of $op,
      rounded to the direction $rnd with the precision of $rop.
@@ -195,7 +204,7 @@ Last-Updated: 2016-10-29
      See the MPFR documentation for details regarding special cases.
  
  
-@@ -1126,10 +1126,10 @@
+@@ -1201,10 +1201,10 @@
     $si = Rmpfr_tanh($rop, $op, $rnd);
      Set $rop to the hyperbolic cosine/hyperbolic sine/hyperbolic
      tangent respectively of $op, rounded to the direction $rnd
@@ -209,7 +218,7 @@ Last-Updated: 2016-10-29
      the actual value.
  
     $si = Rmpfr_acosh($rop, $op, $rnd);
-@@ -1137,40 +1137,40 @@
+@@ -1212,40 +1212,40 @@
     $si = Rmpfr_atanh($rop, $op, $rnd);
      Set $rop to the inverse hyperbolic cosine, sine or tangent
      of $op, rounded to the direction $rnd with the precision of
@@ -258,7 +267,7 @@ Last-Updated: 2016-10-29
      result is exact (this occurs in fact only when $op is 0 i.e
      the result is 0).
  
-@@ -1393,7 +1393,7 @@
+@@ -1489,7 +1489,7 @@
      Return the number of bytes read, or if non-numeric characters were
      encountered in the input, return 0.
      If 0 is returned:
@@ -267,7 +276,7 @@ Last-Updated: 2016-10-29
           incremented. You can query/clear/reset the value of the
           flag with (resp.) nnumflag()/clear_nnum()/set_nnum() - all
           of which are documented below;
-@@ -1428,7 +1428,7 @@
+@@ -1524,7 +1524,7 @@
      The precision of OP is stored too. The import function fails if
      the precision (which is read from the stream) is greater than
      MPFR_PREC_MAX.
@@ -276,7 +285,7 @@ Last-Updated: 2016-10-29
  
     ##########
  
-@@ -1508,7 +1508,7 @@
+@@ -1604,7 +1604,7 @@
     $bool = Rmpfr_erangeflag_p();
     $bool = Rmpfr_divby0_p();   # mpfr-3.1.0 and later only
      Return the corresponding (underflow, overflow, invalid, inexact,
@@ -285,7 +294,7 @@ Last-Updated: 2016-10-29
  
     Rmpfr_flags_clear($mask);            # needs mpfr-4.0.0 or later
     Rmpfr_flags_set($mask);              # needs mpfr-4.0.0 or later
-@@ -1685,7 +1685,7 @@
+@@ -1781,7 +1781,7 @@
      to the fractional part of $op, rounded in the direction RND with
      the corresponding precision of $rop1 and $rop2 (equivalent to
      'Rmpfr_trunc($rop1, $op, $rnd)' and 'Rmpfr_frac($rop1, $op, $rnd)').
@@ -294,7 +303,7 @@ Last-Updated: 2016-10-29
      results are exact.
  
     $si         = Rmpfr_remainder($rop, $op1, $op2, $rnd);
-@@ -1713,7 +1713,7 @@
+@@ -1809,7 +1809,7 @@
      functions are useful for additive argument reduction.
  
     $si = Rmpfr_integer_p($op);
@@ -303,7 +312,7 @@ Last-Updated: 2016-10-29
  
     Rmpfr_nexttoward($op1, $op2);
      If $op1 or $op2 is NaN, set $op1 to NaN. Otherwise, if $op1 is
-@@ -1954,7 +1954,7 @@
+@@ -2050,7 +2050,7 @@
      ordinary number); otherwise, return a non-zero value.
  
     $si = Rmpfr_signbit ($op);
@@ -312,7 +321,7 @@ Last-Updated: 2016-10-29
      negative, -0, or a NaN whose representation has its sign bit set).
  
     $si2 = Rmpfr_setsign ($rop, $op, $si, $rnd);
-@@ -1985,7 +1985,7 @@
+@@ -2081,7 +2081,7 @@
      the *current default rounding mode*.
  
      Note that any comparison using the spaceship operator ( <=> )
@@ -321,7 +330,7 @@ Last-Updated: 2016-10-29
      All comparisons ( < <= > >= == != <=> ) involving one or more
      NaNs will set the erange flag.
  
-@@ -2249,7 +2249,7 @@
+@@ -2345,7 +2345,7 @@
     which will set $max_len to 15.
  
     That is, so long as your base 10 float consists of no more than 15
@@ -332,7 +341,7 @@ Last-Updated: 2016-10-29
  
 --- a/MPFR.pm
 +++ b/MPFR.pm
-@@ -388,7 +388,7 @@
+@@ -396,7 +396,7 @@
        if(!@_) {return Rmpfr_init()}
        }
  
@@ -341,3 +350,30 @@ Last-Updated: 2016-10-29
      # a string, (optionally) the base of the numeric string.
      if(@_ > 2) {die "Too many arguments supplied to new() - expected no more than two"}
  
+--- a/t/sum.t
++++ b/t/sum.t
+@@ -56,21 +56,21 @@
+   Rmpfr_free_cache();
+ 
+   eval {Rmpfr_free_cache2(MPFR_FREE_LOCAL_CACHE);};
+-  if($@ =~ /^Rmpfr_free_cache2 not implmented/) {print "ok 4\n"}
++  if($@ =~ /^Rmpfr_free_cache2 not implemented/) {print "ok 4\n"}
+   else {
+     warn "\$\@: $@\n";
+     print "not ok 4\n";
+   }
+ 
+   eval {Rmpfr_free_cache2(MPFR_FREE_GLOBAL_CACHE);};
+-  if($@ =~ /^Rmpfr_free_cache2 not implmented/) {print "ok 5\n"}
++  if($@ =~ /^Rmpfr_free_cache2 not implemented/) {print "ok 5\n"}
+   else {
+     warn "\$\@: $@\n";
+     print "not ok 5\n";
+   }
+ 
+   eval {Rmpfr_free_pool();};
+-  if($@ =~ /^Rmpfr_free_pool not implmented/) {print "ok 6\n"}
++  if($@ =~ /^Rmpfr_free_pool not implemented/) {print "ok 6\n"}
+   else {
+     warn "\$\@: $@\n";
+     print "not ok 6\n";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-mpfr-perl.git



More information about the Pkg-perl-cvs-commits mailing list