Tcl Math Conversion API Library Module

The Tcl math conversion API library module has the file name conv.tcl. This module performs math conversions. Any conversion that will uses floating-point numbers is coded to make use of the fixed-point math API.

Here is a list of procedures in the this library module:

Module Dependencies

The following modules are required along with this module:

Module Definition Files

This module requires the definition file:

Module Procedures

conv_fah_2_cel

Declaration  : proc conv_fah_2_cel {s1}
Parameters   :
      Name   : s1
      Type   : fxp list
Description  : input fixed-point number

Returns      : fxp list of converted number in celsius

This procedure will convert the input fixed-point number in degrees fahrenheit to degrees celsius.

conv_cel_2_fah

Declaration  : proc conv_cel_2_fah {s1}
Parameters   :
      Name   : s1
      Type   : fxp list
Description  : input fixed-point number

Returns      : fxp list of converted number in fahrenheit

This procedure will convert the input fixed-point number in degrees celsius to degrees fahrenheit.

Goto Top | Tcl Applications | Tcl Software Overview | Tcl Library Overview
| Future Lab Home | Contact Webmaster | Feedback

Copyright © 2005-2006 Future Lab, Last Updated Jul 01, 2006