Floor
Overview
Computes the function floor(x) using the math library
Discussion
Computes the funtion floor(x) using the math library.
Module Pack
Standard
ClassID
classID = 49
Type Definition
typedef struct _ModuleFloor
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
} ModuleFloorClass;
Pins
Input Pins
| Name | in |
| Description | Input signal |
| Data type | float |
| Channel range | Unrestricted |
| Block size range | Unrestricted |
| Sample rate range | Unrestricted |
| Complex support | Real |
Output Pins
| Name | out |
| Description | Output signal |
| Data Type | float |
Matlab Usage
File Name: floor_module.m
M=floor_module(NAME)
Creates an Audio Weaver module that computes the function floor(x)
using the standard math library.
NAME - name of the module.
Copyright (c) 2026 DSP Concepts, Inc.