代码搜索:精度
找到约 2,443 项符合「精度」的源代码
代码结果 2,443
www.eeworm.com/read/488625/6482934
c 2.c
/***********************************************************
实验名称:温度计(数码管显示)示例程序
程序说明:显示温度-55到+125度,显示精度为0.1度,显示采用4位LED显示测温值
作者:RF-X1开发板团队
日期:2008-7-28
******************************************
www.eeworm.com/read/265031/11285422
cpp bigint.cpp
// bigint.cpp: implementation of the bigint class.
//定义一个超高精度的类bigint的实现算法代码,用以实现超过20位有效数字整型数值
//的运算,并具有兼容已有整型数据int的能力,能与int数据混合运算。
/////////////////////////////////////////////////////////////////
www.eeworm.com/read/345926/11782081
cpp vc0402.cpp
// Example 4-2:求双精度类型量的绝对值
#include
double mydabs(double x)
{
return x>0?x:-x;
}
void main()
{
double f1 = -12.0, f2 = 234.0;
cout
www.eeworm.com/read/155903/11839475
txt 例4.5.txt
例4.5 求3个数中最大的数(分别考虑整数、双精度数、长整数的情况)。
#include
using namespace std;
int main( )
{int max(int a,int b,int c); //函数声明
double max(double a,double b,double c); //函数声明
long
www.eeworm.com/read/344530/11874666
vhd frequency.vhd
--文件名:frequency.vhd。
--功能:4位显示的等精度频率计。
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
use ieee.std_logic_arith.all;
entity frequency is
port(clk:in std_logic;
www.eeworm.com/read/257078/11951008
m e0545.m
syms x;f=cos(x-pi/6)*sin(x+pi/6) ;
s=int(f,x,0,2*pi) %求符号定积分,执行结果为符号表达式
double(s) %把符号表达式转换为双精度数值
www.eeworm.com/read/152149/12135552
bas stringfloat.bas
Attribute VB_Name = "Module1"
'单精度4字节浮点数转换为Double
Function StringToDouble(Byte4() As Byte) As Double
Dim ldata As Double
Dim tmp As Integer
ldata = CDbl((Byte4(1) And &H7F) Or &H80) / 256 + CDb
www.eeworm.com/read/223368/14643466
cpp juzhendiedai.cpp
#include
#include
#include
#define EPS 0.0001 //精度控制量
#define max 100 //最大迭代次数
#define N 10 //方程组的最大阶数
double norm_inf(double x[], int n) //求向量无穷范数
{
d
www.eeworm.com/read/122393/14695677
cpp gauss.cpp
#include
#include
#include
#include
void main()
{
int i,j,n,k,i0;
double eps,p,w;
//输入方程组维数,增广矩阵系数和控制条件精度
cout
www.eeworm.com/read/206778/15290073
txt hugenumbers.txt
高精度的大数字的算法
例如要精确到小数点后面多少位或者100位的数字相加减
下面是一个单元:
huge numbers
By: Abe Timmerman; Alkmaar, The Netherlands
Send improvements to: A.Timmerman@beta.hsholland.nl
This unit uses an ar