#39 zeta wrong for negative odd integers

closed
None
5
2012-08-23
2012-08-22
Zbynek Konecny
No

With load_package specfn
zeta(-1) returns 1/12 instead of -1/12
zeta(-3) returns -1/180 instead of 1/120
etc.; it does not depend on numval and rounded switches.

Discussion

  • Rainer Schöpf
    Rainer Schöpf
    2012-08-23

    • assigned_to: nobody --> schoepf
    • status: open --> open-accepted
     
  • Rainer Schöpf
    Rainer Schöpf
    2012-08-23

    Thanks for reporting this. I believe I found the reason for this erroneous behaviour, but I need to test this further. I'll commit a fix ASAP.

    Rainer

     
  • Rainer Schöpf
    Rainer Schöpf
    2012-08-23

    Fix committed (r1748)

     
  • Rainer Schöpf
    Rainer Schöpf
    2012-08-23

    • status: open-accepted --> closed-fixed