📄 powtest.c
字号:
#include <vxWorks.h>
#include <math.h>
#include "../../../include/drv/pc1394Card/OHCIDesc.h"
void powTest(void)
{
double a;
int powResult;
a = pow(2.0, 8.0);
powResult = (int)a;
printf("powTest: a = %6f\n", a);
printf("powTest: powResult = %d\n", powResult);
}
void sizeofTest(void)
{
int iSize;
iSize = sizeof(struct ASY_INPUT_MORE);
printf("sizeofTest: size of ASY_INPUT_MORE = %d\n", iSize);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -