Skip to content

Misunderstanding about printing of ArbElems #5644

@JohnAAbbott

Description

@JohnAAbbott

Here is some OSCAR code (for computing a recurrence relation, published by J-M Muller):

RR = real_field();
BIT_PREC = 233;
set_precision!(Balls, BIT_PREC);

Vprev = RR(2);
Vcurr = RR(-4);
Vprev += RR(2)^(1-div(75*BIT_PREC,100));
for i in 1:8+div(2*BIT_PREC,11)
  Vnext = 111 - 1130/Vcurr + 3000/(Vcurr*Vprev);
  Vprev = Vcurr;
  Vcurr = Vnext;
  println("Vcurr = $(Vcurr)");
end

The printed values of Vcurr include the following:

Vcurr = [6.2 +/- 0.0608]
Vcurr = [+/- 9.06]
Vcurr = [+/- 48.2]
Vcurr = [+/- 1.07e+2]
Vcurr = [1e+2 +/- 5.68]

Do the three central intervals contain zero or not? If they do, why do I not get a "division by zero" error?
OSCAR version: 1.7.0-DEV #master a3f6b0d 2025-12-10

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