We consider the numerical computation of I [ f ] = ∫ = a b f (x) d x , the Hadamard finite part of the finite-range singular integral ∫ a b f (x) d x , f (x) = g (x) / (x - t) m with a < t < b and m ∈ { 1 , 2 , ... } , assuming that (i) g ∈ C ∞ (a , b) and (ii) g(x) is allowed to have arbitrary integrable singularities at the endpoints x = a and x = b . We first prove that ∫ = a b f (x) d x is invariant under any legitimate variable transformation x = ψ (ξ) , ψ : [ α , β ] → [ a , b ] , hence there holds ∫ = α β F (ξ) d ξ = ∫ = a b f (x) d x , where F (ξ) = f (ψ (ξ)) ψ ′ (ξ) . Based on this result, we next choose ψ (ξ) such that F (ξ) , the T -periodic extension of F (ξ) , T = β - α , is sufficiently smooth, and prove, with the help of some recent extension/generalization of the Euler–Maclaurin expansion, that we can apply to ∫ = α β F (ξ) d ξ the quadrature formulas derived for periodic singular integrals developed in an earlier work of the author: [A. Sidi, "Unified compact numerical quadrature formulas for Hadamard finite parts of singular integrals of periodic functions." Calcolo, 58, 2021. Article number 22]. We give a whole family of numerical quadrature formulas for ∫ = α β F (ξ) d ξ for each m, which we denote T ^ m , n (s) [ F ] . Letting G (ξ) = (ξ - τ) m F (ξ) , with τ ∈ (α , β) determined from t = ψ (τ) , and letting h = T / n , for m = 3 , for example, we have the three formulas T ^ 3 , n (0) [ F ] = h ∑ j = 1 n - 1 F (τ + j h) - π 2 3 G ′ (τ) h - 1 + 1 6 G ′ ′ ′ (τ) h , T ^ 3 , n (1) [ F ] = h ∑ j = 1 n F (τ + j h - h / 2) - π 2 G ′ (τ) h - 1 , T ^ 3 , n (2) [ F ] = 2 h ∑ j = 1 n F (τ + j h - h / 2) - h 2 ∑ j = 1 2 n F (τ + j h / 2 - h / 4). We show that all of the formulas T ^ m , n (s) [ F ] converge to I[f] as n → ∞ ; indeed, if ψ (ξ) is chosen such that F (i) (α) = F (i) (β) = 0 , i = 0 , 1 , ... , q - 1 , and F (q) (ξ) is absolutely integrable in every closed interval not containing ξ = τ , then T ^ m , n (s) [ F ] - I [ f ] = O (n - q) as n → ∞ , where q is a positive integer determined by the behavior of g(x) at x = a and x = b and also by ψ (ξ) . As such, q can be increased arbitrarily (even to q = ∞ , thus inducing spectral convergence) by choosing ψ (ξ) suitably. We provide several numerical examples involving nonperiodic integrands and confirm our theoretical results. [ABSTRACT FROM AUTHOR]