The Koksma–Hlawka inequality is sharp in the following sense: For any point set {x1,...,xN} in Is and any ε > 0 {\displaystyle \varepsilon >0} , there is a function f with bounded variation and V(f) = 1 such that