waldo
waldo copied to clipboard
Problems with comparing complex numbers
waldo::compare(1 + 1i, 10 + 10i)
#> Warning in sprintf(paste0("%0.", digits, "f"), x): imaginary parts discarded in
#> coercion
#> Warning in sprintf(paste0("%0.", digits, "f"), x): imaginary parts discarded in
#> coercion
#> `old`: 1
#> `new`: 10
Created on 2022-06-30 by the reprex package (v2.0.1)