-
prepare themselves with a small C games, DOS interface, oh run. Float Float basi...
自己用C编写的小游戏,DOS界面哦,可以运行。 浮点数基本运算 浮点数的基本运算主要有四则运算、符号处理、大小比较,以及浮点数分柝等。 包含头文件 "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 取负 取负运算就是取一个浮点数的负数。-prepare themselves with a small C games, DOS interface, oh run. Float 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, p
- 2022-03-22 16:15:25下载
- 积分:1
-
模拟退火算法
C/C++实现模拟退火算法,适用于函数最值寻优问题,旅行商问题等等(C/C++ implementation of simulated annealing algorithm)
- 2018-06-15 14:08:05下载
- 积分:1
-
温度检测系统课程设计资料
51最小系统板pcb图,初学者简单学习,并且附有系统板说明,希望对大家能有帮助(51 Minimum System Board PCB chart, beginners simple learning, and with system board instructions, I hope you can help.)
- 2019-05-13 21:36:09下载
- 积分:1
-
从这个源码是转载于其他网站,希望对大家有所帮助
这个源码是从其它网站上转载来的,希望对大家有所帮助--锅炉热力计算程序(c语言版)!-from this source is reproduced on other websites to, We hope to help-- the boiler thermal calculation (c language version)!
- 2023-08-27 16:45:04下载
- 积分:1
-
main
HDG12864L-6 驱动程序,显示图片和文字(HDG12864L-6,This is a file)
- 2018-04-26 21:23:53下载
- 积分:1
-
compute_spreading_SIR
在复杂网络的伪信息传播过程中,类比于病毒传染的传播模型(Dummy information dissemination process in complex networks, analogous to the spread of the virus infection model)
- 2016-07-21 19:56:13下载
- 积分:1
-
nomasic
说明: noma matlab without SIC
- 2021-02-21 17:09:42下载
- 积分:1
-
ICA
说明: matlab上基于ICA的故障监测程序,有注释(ICA-based fault monitoring)
- 2021-03-27 18:59:12下载
- 积分:1
-
FreeRTOS_Tutorial_Guide
说明: Manual for develpment of embedded SW based on FreeRTOS
- 2020-04-06 05:09:38下载
- 积分:1
-
R
说明: R语言舍选法、极坐标法、Box-Muller变换产生正态随机变量(R Language Rounding Method, Polar Coordinate Method and Box-Muller Transform to Generate Normal Random Variables)
- 2021-04-22 21:58:48下载
- 积分:1