MATHLIB Function Reference

Contents

  1. Introduction
  2. Modules
  3. Features and Benefits
  4. Functional Reference

Introduction

The Texas Instruments math library is an optimized floating-point math function library for C programmers using TI floating point devices. These routines are typically used in computationally intensive real-time applications where optimal execution speed is critical. By using these routines instead of the routines found in the existing run-time-support libraries, you can achieve execution speeds considerably faster without rewriting existing code. The MATHLIB library includes all floating-point math routines currently provided in existing run-time-support libraries. These new functions can be called with the current run-time-support library names or the new names included in the math library.


Modules

The rich set of software routines included in MATHLIB are organized into two categories:

  1. Single precision floating point
  2. Double precision floating point

Features and Benefits

  • Natural C Source Code
  • Optimized C code with Intrinsics
  • Hand-coded assembly-optimized routines
  • C-callable routines, which can be inlined and are fully compatible with the TMS320C6000 compiler
  • Routines which accept single sample or vector inputs
  • Provided functions are tested against C model and existing run-time-support functions
  • Benchmarks (cycle and code size)
  • The provided precompiled library was compiled using Code Generation Tools v7.4.2

Functional Reference

The following sections provide a detailed reference of all functions within MATHLIB. The functions are organized into the following two categories:


Copyright 2022, Texas Instruments Incorporated