-
基本操作的基本操作是四大操作,符号…
浮点数基本运算 浮点数的基本运算主要有四则运算、符号处理、大小比较,以及浮点数分柝等。 包含头文件 "fn.hpp" #include "fn.hpp" 浮点数基本运算 浮点数的基本运算中有加、减、乘、除、取负、绝对值、相等比较等。 加减乘除 加、减、乘、除四个运算极为相似,都是需要两个参数,结果当然也是浮点数了。 例子: // 加 减 乘 除 btil::fn::plus::value // f1+f2 的结果 btil::fn::minus::value // f1-f2 的结果 btil::fn::multiplies::value // f1*f2 的结果 btil::fn::divides::value // f1/f2 的结果 plus::value::f_val // f1+f2 的结果的值 struct one { static const double f_val = 1.0 } // 两个浮点数 struct two { static const double f_val = 2.0 } minus::value::f_val == 0.5 取负 取负运算就是取一个浮点数的负数。-float basic operations of the basic operations are four major operations, symbols, sizes, and float-watchman"s rattle so. The first document contains "fn.hpp"# include "fn.hpp" float float basic operations of the basic operations are, plus or minus, riding, except from negative, in absolute terms, a comparison of the same. The a
- 2022-05-22 17:45:03下载
- 积分:1
-
altera_reed_solomon_design
altera 的reed solomn 设计(reed solomn design from altera)
- 2009-06-14 15:39:32下载
- 积分:1
-
C# 基于Socket的CS结构框架互相通讯实例
C# 基于Socket的CS结构框架互相通讯实例,也就是服务端Service和客户端Client之间的通信,程序目录中分别有客户端和服务端的代码,可了解下线程通讯之间的细节,两者都运行后,进行相关的参数设置,可互发消息,如示例截图所示。
- 2022-05-31 09:44:02下载
- 积分:1
-
A vc++ Write small games, covering a game should be some methods and techniques,...
一个vc++写的小游戏,基本涵盖了一个游戏应该有的方法和技巧,有一定参考价值-A vc++ Write small games, covering a game should be some methods and techniques, has a certain reference value
- 2022-09-20 12:55:02下载
- 积分:1
-
tetris
用 cocos2d-x 3.4 开发的俄罗斯方块(Use cocos2d-x 3.4 development game tetris)
- 2015-02-26 14:45:26下载
- 积分:1
-
demo(S50)源代码
应用背景D8 读卡器S50DEMO源代码,用于技术开发,和卡片个人化应用关键技术// rfvcDlg.cpp : implementation file
//
#include "stdafx.h"
#include "rfvc.h"
#include "rfvcDlg.h"
#include "dcrf32.h"
#include "General.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//dc_HANDLE icdev;
HANDLE icdev;
unsigned long cardsnr;
/////////////////////////////////////////////////////////////////////////////
// CRfvcDlg dialog
CRfvcDlg::CRfvcDlg(CWnd* pParent /*=NULL*/)
: CDialog(CRfvcDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CRfvcDlg)
//}}AFX_DATA_INIT
// Note that LoadIcon does not require a subsequent DestroyIcon in Win32
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}
- 2022-02-16 02:14:23下载
- 积分:1
-
SHT20
SHT20温湿度传感器的51控制。可完美使用其控制传感器从而得知外界温度。下载后请给好评,谢谢(51 control of SHT20 temperature and humidity sensor. Perfect use of its control sensor to know the external temperature. After downloading, please give it a good comment. Thank you.)
- 2020-06-24 13:40:02下载
- 积分:1
-
FSMC—扩展外部SRAM
说明: STM32库开发实战 FSMC扩展外部SRAM历程(FSMC extends external SRAM history)
- 2019-11-05 20:18:48下载
- 积分:1
-
SAR-RD
说明: 合成孔径雷达成像中的距离多普勒算法,包括回波产生,脉冲压缩,距离徙动补偿等(Range Doppler algorithm for SAR imaging)
- 2020-01-14 11:52:47下载
- 积分:1
-
这个程序执行functonality 4位ALU
this program performs the functonality of 4 bit alu
- 2022-02-05 10:13:20下载
- 积分:1