登录
首页 » 算法 » 本题的算法中涉及的三个函数: double bbp(int n,int k,int l) 其中n为十六进制位第n位,k取值范围为0到n+7,用来计算16nS...

本题的算法中涉及的三个函数: double bbp(int n,int k,int l) 其中n为十六进制位第n位,k取值范围为0到n+7,用来计算16nS...

于 2022-01-30 发布 文件大小:10.43 kB
0 200
下载积分: 2 下载次数: 1

代码说明:

本题的算法中涉及的三个函数: double bbp(int n,int k,int l) 其中n为十六进制位第n位,k取值范围为0到n+7,用来计算16nS1,16nS2,16nS3,16nS4小数部分的每一项。返回每一项的小数部分。 void pi(int m,int n,int p[]) 计算从n位开始的连续m位的十六进制数字。其中p为存储十六进制数字的数组。 void div(int p[]) void add(int a[],int b[]) 这两个函数都是为最后把十六进制数字转换为十进制数字服务的。 最后把1000个数字分别存储在整型数组r[]中,输出就是按顺序输出该数组。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 经典的Josephus问题C程序
    经典的Josephus问题C程序-classic problem Josephus C Program
    2022-08-07 03:49:29下载
    积分:1
  • 数值计中追赶的C++实现,用类实现。
    数值计算中追赶法的C++实现算法,用类实现。-numerical calculation method to catch up with the algorithm in C, Class Implementation.
    2022-01-25 20:24:36下载
    积分:1
  • 科学与工程数值计 1、本书附赠的光盘包含了本书中全部的源代码。使用时只需将相应的目录拷贝到您的硬盘中。 注意 拷贝到硬盘上的源文件的属性如果...
    科学与工程数值计算算法 1、本书附赠的光盘包含了本书中全部的源代码。使用时只需将相应的目录拷贝到您的硬盘中。 注意 拷贝到硬盘上的源文件的属性如果成为只读的,在编译之前应该将它们的属性改为可读写的。 2、光盘各目录中的内容如下所示: 光盘目录 内容说明 SourceChapterN 第N章的所有示例工程源程序 SourceClasses 本书所有算法类的源程序 SourceLib 集成本书所有算法的静态库文件 SourceDll 集成本书所有算法的动态库文件 -Science and Engineering numerical algorithm 1, this book comes with a CD-ROM contains all the book s source code. Simply use the corresponding copy of the directory to your hard drive. Note to copy the source files on your hard disk becomes read-only attribute in the compiler prior to their properties should be changed to read and write. 2, CD-ROM contents of the directory as follows: CD-ROM directory description SourceChapterN the first chapter all the examples of N source project SourceClasses algorithm book all types of source book SourceLib integrated all of the static algorithm library file SourceDll integrated all book algorithm for dynamic library files
    2023-08-03 22:30:03下载
    积分:1
  • STS协议库
    STS表计常用库,在国外常用的预付表计中会被用到,如果有用,请联系我,其中包括充值充电充钱,管理码等等一系列的数据生理,为使用提供了不好方便的。
    2022-01-26 05:13:03下载
    积分:1
  • 线段树基本操作和使用
    线段树的基本操作,个类oj题目,有源代码,可以相互学习
    2022-01-31 10:42:39下载
    积分:1
  • The Kalman filter30 is a minimum
    The Kalman filter30 is a minimum-variance filter in which time-series measurements are incorporated recursively into estimates of state variables it is the optimal, Bayesian least-squares estimator for linear dynamic systems.-text
    2022-03-17 08:20:02下载
    积分:1
  • 数学原书光盘
    数学算法原书光盘-mathematical algorithms original CD
    2022-01-26 03:22:05下载
    积分:1
  • 求解旅行商问题的遗传
    遗传算法求解tsp问题,采用遗传算法,比其他的算法更容易解决tsp- GA to solve the tsp problem
    2022-02-06 00:52:14下载
    积分:1
  • koch 雪花的非递规 实现
    koch 雪花的非递规 实现-non-delivery rules to achieve
    2022-02-24 16:40:11下载
    积分:1
  • 使用络文库的有限域运的示例
    Gf2 系列类代表域译码。计算上讲,它不是特别有用的类。它的主要用途是使各种有限域类的接口尽可能均匀。Gf2 系列的头文件还声明类 ref_GF2,其中用来表示非 const 引用到 gf2 系列,如那些从索引 vec_GF2,其中"包"gf2 系列的获得成单词。有从 ref_GF2 到 const gf2 系列隐式转换从 gf2 系列及到 ref_GF2。因此,如果你想要宣布带 GF2 非 const 引用的函数,你应声明的参数的类型 ref_GF2: 这将允许您传递 gf2 系列类型的变量以及 vec_GF2 元素的获得通过索引。
    2022-09-01 07:50:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载