R Under development (unstable) (2025-09-19 r88859 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(flint) > > > X <- arb(pi) > stopifnot(identical(Mid(X), arf(pi))) > X2 <- X; Mid(X2) <- 2 * pi # gave error > ## Error in q@dim : > ## no applicable method for `@` applied to an object of class "function" > stopifnot(X2 == 2 * pi) > > > Z <- acb(pi) > Imag(Z) <- 1 # gave error > ## Error in q@dim : > ## no applicable method for `@` applied to an object of class "function" > stopifnot(Z == pi + 1i) > > > (mZ <- Mid(Z)) # newly works class "acf", length 1, address 00000225641F8CD0 [1] 3.141593e+0+1.000000e+0i > stopifnot(is(mZ, "acf"), mZ == pi + 1i) > > proc.time() user system elapsed 0.51 0.04 0.54