⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme_testmath3

📁 这里包含了风河vxworks系统中的官方例程的C源代码
💻
字号:
FILE LIST -             testMath3.cDESCRIPTION -	     double sinh(double x);	     double cosh(double x);	     double tanh(double x);	     These functions compute the designated direct	     hyperbolic functions for real arguments.RUNNING DEMO -	     Place the testMath3.c file in your <Tornado> dir.	     Depending on the target you have, define the CPU in your compile	     line and use the Make in the BSP dir. to compile.	     For MC68LC040 you need to add INCLUDE_SW_FP in config.h and need	     to use VX_FP_TASK as the options parameter for taskSpawn() in	     in usrConfig.c for successful running the demo.	     To run this code invoke the function testmath3().TESTED ON -  Host/Target : Solaris 2.5.1 /mv1604	     VxWorks     : 5.3.1EXAMPLE COMPILE LINE - 	     make CPU=PPC604 testMath3.o%make testMath3.occppc -B/petaluma1/mayur/tor101-ppc/host/sun4-solaris2/lib/gcc-lib/ -mstrict-align -ansi -nostdinc -O2 -fvolatile -fno-builtin -fno-for-scope -Wall -I/h   -I. -I/petaluma1/mayur/tor101-ppc/target/config/all -I/petaluma1/mayur/tor101-ppc/target/h -I/petaluma1/mayur/tor101-ppc/target/src/config -I/petaluma1/mayur/tor101-ppc/target/src/drv -DCPU=PPC604  -DMV1600 -DTARGET_DIR="\"mv1604\""   -c testMath3.cOUTPUTS/LOGFILE -On VxWorks target:==================-> ld <testMath3.ovalue = 839168 = 0xcce00-> testmath3()value = 0 = 0x0The Output on Console:======================SUCCESS testing math, part 3

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -