Skip to content

SqrtFract32

Overview

Computes the square root using Math approximations.

Discussion

Computes the square root using Math approximations.

Module Pack

Standard

ClassID

classID = 207

Type Definition

typedef struct _ModuleSqrtFract32
{
ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleSqrtFract32Class;

Pins

Input Pins

Name in
Description Input signal
Data type fract32
Channel range Unrestricted
Block size range Unrestricted
Sample rate range Unrestricted
Complex support Real

Output Pins

Name out
Description Output signal
Data Type fract32

Matlab Usage

File Name: sqrt_fract32_module.m 
 M=sqrt_fract32_module(NAME, BLOCKSIZE) 
 Creates an Audio Weaver module that computes the square root of 
 fractional input using the sqrt math approximation. 
    NAME - name of the module. 
    BLOCKSIZE - size of each block to process, optional (default=32) 

Copyright (c) 2026 DSP Concepts, Inc.