当前位置:网站首页>Range of types
Range of types
2022-06-26 13:42:00 【Tom looks at programming】
1. Integer types 
2.float and double The scope of the


notes :inf For infinity ,nan For there is no such thing
float Single precision , Less precise values can be expressed .
double Double precision , Can express more precise values , Less error .
3. Scientific enumeration
%E or %e
1E-10 by 1×10 negative 10 Power
4. Determine whether two floating-point numbers are equal

5. Type conversion

Forced type conversion

(int)10.2:10.2 Of double Turn into int----10
边栏推荐
- Electron official docs series: Distribution
- Reflect the technical depth (unable to speed up)
- MySQL数据库讲解(五)
- Beifu PLC obtains system time, local time, current time zone and system time zone conversion through program
- KITTI Tracking dataset whose format is letf_ top_ right_ bottom to JDE normalied xc_ yc_ w_ h
- Electron official docs series: References
- Beifu PLC model selection -- how to see whether the motor is a multi turn absolute value encoder or a single turn absolute value encoder
- [MySQL from introduction to mastery] [advanced part] (II) representation of MySQL directory structure and tables in the file system
- Bigint: handles large numbers (integers of any length)
- Embedded virlog code running process
猜你喜欢

微信小程序注册指引

Nexys A7开发板资源使用技巧

Log in to the server using SSH key pair

Tips for using nexys A7 development board resources

MongoDB系列之Window环境部署配置

Teacher Li Hang's new book "machine learning methods" is on the market! Purchase link attached

Beifu twincat3 can read and write CSV and txt files

Postman自动化接口测试

Jenkins build prompt error: eacces: permission denied

LAMP编译安装
随机推荐
[how to connect the network] Chapter 2 (Part 1): establish a connection, transmit data, and disconnect
Select tag - uses the default text as a placeholder prompt but is not considered a valid value
Gurivat sprint Harbour Exchange listed: created “multiple first”, received 900 million yuan Investment from IDG capital
Basic methods for network diagnosis and hardware troubleshooting of Beifu EtherCAT module
Calculate the distance between two points (2D, 3D)
tauri vs electron
sed编辑器
Beifu PLC model selection -- how to see whether the motor is a multi turn absolute value encoder or a single turn absolute value encoder
7.Consul服务注册与发现
Wechat applet magic bug - choose to replace the token instead of clearing the token, wx Getstoragesync will take the old token value instead of the new token value
Basic type of typescript
33、使用RGBD相机进行目标检测和深度信息输出
mysql配置提高数据插入效率
MySQL数据库讲解(四)
es常用语法一
Input text to automatically generate images. It's fun!
Mongodb series window environment deployment configuration
33. Use rgbd camera for target detection and depth information output
Tips for using nexys A7 development board resources
Thinking caused by the error < note: candidate expectations 1 argument, 0 provided >