If (in Julia) we compute the QR factorization of a rank deficient matrix like A=[1 2 3;4 5 6;7 8 9], some of the diagonal entries of the R matrix will be very small. However, when doing this numerically in Julia, how small must these diagonal entries be to be considered zero (thus rank deficient)? I am trying to find a formula for this rather than an absolute number.