Is there a list available of the math library functions that are supported by CoDeveloper?
Math Library
Started by drew.woods, Sep 15 2008 03:50 AM
3 replies to this topic
#1
Posted 15 September 2008 - 03:50 AM
#2
Posted 15 September 2008 - 09:43 AM
QUOTE (drew.woods @ Sep 15 2008, 05:50 AM) <{POST_SNAPBACK}>
Is there a list available of the math library functions that are supported by CoDeveloper?
Hi,
Presently there is not a list because there is not really a math.h library to speak of. As soon as a library becomes available per supported vendor, associated documentation will be provided with each release.
Ed
Ed Trexel
Impulse Accelerated Technologies, Inc.
Impulse Accelerated Technologies, Inc.
#3
Posted 15 September 2008 - 11:42 AM
As of 3.20.b.6, the following floating-point operations are supported using functions of the same name, when using any Xilinx or Altera platform:
Example: BlackScholes_double
Example: SquareRoot
- sqrt (Xilinx only)
- sqrtf (single-precision, Xilinx only)
- fabs
- fabsf (single-precision)
- All standard C arithmetic operators and type conversions involving float and double types
Example: BlackScholes_double
- log (my_log)
- exp (my_exp)
- fabs (myfabs)
- sqrt (mysqrt)
- sin (sin64)
- exp (exp64)
- sin (sin64)
Example: SquareRoot
- 32-bit sqrt (isqrt)
- 8-bit sqrt (mySqrt)
Ralph Bodenner
Impulse Accelerated Technologies, Inc.
Impulse Accelerated Technologies, Inc.
#4
Posted 15 September 2008 - 12:18 PM
Thanks Ralph,
I wasn't aware of the functions in the BlackScholes example
I wasn't aware of the functions in the BlackScholes example
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











