has_machine_precision_issues Function

public function has_machine_precision_issues(x, y) result(has_issues)

Check if coordinates span too small a range to be reliably rendered. A collapsed axis (whole extent at machine-precision scale relative to the coordinate magnitude) cannot be distinguished after normalization. Individual coincident adjacent points, common near extrema of smooth curves, are normal and must not be flagged.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in), contiguous :: x(:)
real(kind=wp), intent(in), contiguous :: y(:)

Return Value logical