• 大小: 0.02M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-03-27
  • 语言: C/C++
  • 标签: c  

资源简介


三角函数的值的获取,一种通过系统自带的三角函数获取,另一种通过查表方式获取,查表的方式的精确程度是通过这个表有多少项来决定的,这个代码里提供的表项为8193,精度大致在0.000767左右。

资源截图

代码片段和文件信息

#include “SineTable.h“

const float sinetable[8193] = {
0.0000000.0007670.0015340.0023010.0030680.0038350.0046020.0053690.0061360.0069030.0076700.0084370.0092040.0099710.0107380.0115050.0122720.0130380.0138050.0145720.0153390.0161060.0168730.0176400.0184070.0191740.0199400.0207070.0214740.0222410.0230080.0237740.024541
0.0253080.0260750.0268410.0276080.0283750.0291420.0299080.0306750.0314410.0322080.0329750.0337410.0345080.0352740.0360410.0368070.0375740.0383400.0391070.0398730.0406390.0414060.0421720.0429380.0437050.0444710.0452370.0460030.0467690.0475350.0483020.049068
0.0498340.0506000.0513660.0521320.0528980.0536640.0544290.0551950.0559610.0567270.0574930.0582580.0590240.0597900.0605550.0613210.0620860.0628520.0636170.0643830.0651480.0659130.0666790.0674440.0682090.0689740.0697390.0705050.0712700.0720350.0728000.073565
0.0743290.0750940.0758590.0766240.0773890.0781530.078918

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      78880  2017-02-22 13:53  三角函数查表方式\SineTable.c

     文件        425  2017-02-22 13:52  三角函数查表方式\SineTable.h

     目录          0  2017-02-22 13:52  三角函数查表方式

----------- ---------  ---------- -----  ----

                79305                    3


评论

共有 条评论