arXiv:2609.04783cs.ARSep 2026

Manuscript Offprint

arXiv:2609.04783

A Piecewise-Linear Approximation-based Energy-Efficient Error-Optimized Unsigned Square Rooter for Accuracy-Critical Applications

Prateek Goyal, Sujit Kumar Sahoo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Prateek Goyal, Student Member, IEEE, Sujit Kumar Sahoo, Senior Member, IEEE

Abstract—Approximate computing improves energy efficiency in error-resilient applications, but square root units remain challenging due to the trade-off between hardware cost and computational accuracy. This paper presents an energy-efficient, error-optimized, piecewise-linear approximation-based unsigned square rooter (EOSQR) for 2n-bit inputs that achieves high accuracy with low hardware complexity, using only simple arithmetic and shift operations. The EOSQR design is implemented in Verilog-HDL and evaluated on a 16-bit benchmark synthesized on an Artix-7 FPGA. Compared to representative state-of-the-art approximate square rooters, EOSQR achieves the lowest error among accuracy-critical designs while delivering 61.91% resource savings, 77.54% power savings, and 53.11% latency reduction relative to a precise restoring array-based square rooter. To enable holistic evaluation, a Composite Efficiency Metric (CEM) is introduced to jointly capture accuracy and energy efficiency. EOSQR is further validated on representative image-processing and machine-learning workloads, including Sobel edge detection, K-means color quantization, and K-nearest-neighbor (KNN) classification. Experimental results demonstrate that EOSQR achieves high computational accuracy with a superior CEM-based accuracy–hardware efficiency trade-off while maintaining visual quality and classification performance, making it well-suited for real-time edge-embedded systems.

Index Terms—Approximate computing, square rooter, piecewise-linear approximation, error optimization, and accuracy-critical applications.

I. Introduction

DIGITAL arithmetic forms the foundation of modern computing systems, supporting a wide range of applications from signal and image processing to graphics and machine learning accelerators [1]. As system performance is increasingly constrained by power, latency, and hardware resources, approximate computing has emerged as an effective paradigm that exploits the inherent error resilience of many contemporary workloads. Within this framework, approximate arithmetic circuits, including adders [2] [3] [4], multipliers [5] [6] [7], dividers [8] [9] [10], and square root units [11] [12] [13] [14] [15], have been widely explored to reduce computational complexity and energy consumption. Among these operations, square root computation is particularly important, as it is widely used in Euclidean distance evaluation, normalization, and feature extraction in image processing and machine learning. However, square root operations remain inherently

resource- and energy-intensive, often relying on iterative or complex hardware designs that incur significant area, power, and latency overheads.

Approximate square rooters can deliver substantial efficiency improvements by introducing controlled inaccuracies, thereby creating a fundamental trade-off between computational accuracy and hardware efficiency. Achieving an appropriate balance between these objectives is crucial, particularly in applications where accuracy degradation cannot be readily tolerated [16]. In applications such as medical imaging, financial computing, high-quality image enhancement, and machine learning algorithms, including K-means clustering and K-nearest neighbors, square root computation is essential for evaluating Euclidean distances used in clustering and classification. These domains require high computational accuracy to ensure reliability while maintaining energy efficiency [17].

Consequently, accuracy-aware and error-optimized approximate square root designs have emerged as a critical requirement for extending approximate computing to reliability-sensitive applications. While several existing approaches aim to achieve error-optimized operation, many of these solutions improve accuracy at the expense of increased hardware complexity, resulting in higher resource utilization, power consumption, and delay [11] [14]. This limits their effectiveness in energy-constrained and real-time systems, where both accuracy and efficiency must be carefully balanced. Therefore, there remains a strong need for square root designs that deliver near-exact computational accuracy while maintaining comparable hardware overhead and a favorable accuracy-efficiency trade-off. Addressing this challenge requires a critical review of existing unsigned square root computation techniques and their inherent design trade-offs, discussed next.

The Exact Restoring Array-based Square Rooter (ERAS) [1] employs an iterative shift-and-subtract restoring array algorithm to compute the exact square root of an unsigned number, thereby serving as a standard baseline for accuracy and hardware evaluation. Building on this framework, an Approximate Square Rooter (AXSR3) is introduced in [11], in which selected exact subtractor cells within the restoring array are replaced by approximate cells using a triangular replacement strategy to generate an approximate square root. Restoring array-based methods rely on iterative subtraction and slow convergence,

The authors are with the School of Electrical Sciences, Indian Institute of Technology Goa, Ponda-403401, Goa, India (e-mail: prateek22242202@iitgoa.ac.in; sujit@iitgoa.ac.in).

making them inefficient for large word lengths. As a result, series expansion-based square root methods are preferred for better scalability and computational efficiency.

Series expansion-based square root methods, such as the Energy-Efficient Logarithmic Square Rooter with Error Compensation (LESQ-EC) [12], the Optimized Logarithmic Square Rooter (OLSR) [13], and the Taylor Series-based Optimal Square Rooter (TSOSQR) [15], approximate the square root by decomposing the input radicand into its nearest power-of-two component and a residual term, which is estimated using a truncated series expansion. While this strategy enables shift-and-add implementations with reduced hardware complexity and energy consumption, its reliance on low-order series approximations and MSB-dominant representations limits numerical accuracy. The error becomes more pronounced for inputs with larger residual components, underscoring the need for alternative square-root designs that enhance accuracy while preserving a balanced accuracy-efficiency trade-off.

The Modified Approximate Hybrid Square Rooter (MAHSQR) [14] is a hybrid architecture that integrates a logarithmic approximation scheme with a reduced-bit-width Exact Restoring Array Square Rooter (ERAS) to balance computational accuracy and hardware efficiency. It computes M\sqrt{M} by partitioning the input radicand (M) into its most significant and least significant segments and applying a first-order linear approximation. To improve accuracy, only a small portion of the least significant bits (LSBs) is approximated, while most of the input is processed using an exact restoring array unit. Although this enhances precision, the larger exact block increases hardware overhead, leading to higher area, critical path delay, and power-delay product (PDP), thereby limiting suitability for hardware-constrained applications.