Skip to content

arb_zero_pm_one prints as [+/- 1.01] instead of [+/- 1.00] #391

@saraedum

Description

@saraedum

The following code produces the output [+/- 1.01].

#include <arb.h>

int main() {
  arb_t x;
  arb_init(x);
  arb_zero_pm_one(x);
  arb_printn(x, 64, 0);
  arb_clear(x);
}

Since internally this corresponds to the ball [+/- 1], I would have expected this to print [+/- 1.00].

Is there a reason why [+/- 1.01] would be the correct output here?

(I produced this output with arb 2.20 as packaged on conda-forge.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions