当前位置:网站首页>1e3是浮点数?
1e3是浮点数?
2022-07-28 20:56:00 【老赵的博客】
1. 做项目时,遇到这么个问题
QDataStream out(m_caliFile);
out << m_sigGenMark<< (int)(1e3*m_amplitudeRatio) << m_freVec[m_sigGenMark]
<< m_freVec[m_sigGenMark] << m_setAngle ;其中m_setAngle 是int 型数据,后边我乘以1e3,后边发现数据结构多了四个字节,原来1e3是浮点数类型。
2. 还有个现象是QDataStream的数据是大端模式二进制数据,读取数据时注意。
边栏推荐
- Redis related
- PC side web page special effects (offset series, obtain the coordinates of the mouse in the box, pop-up drag effect, magnifying glass effect)
- When can I sign up for the 2022 class I constructor examination?
- winform跳转第二个窗体案例
- ATT&CK 威胁情报
- Fastflow [abnormal detection: normalizing flow]
- Wechat applet uses canvas drawing, round avatar, network background, text, dotted line, straight line
- CS flow [abnormal detection: normalizing flow]
- GD32F303固件库开发(10)----双ADC轮询模式扫描多个通道
- Differernet [anomaly detection: normalizing flow]
猜你喜欢

winform跳转第二个窗体案例

es个人整理的相关面试题
![[reprint] the token token is used in the login scenario](/img/84/77dc2316e2adc380a580e2456c0e59.png)
[reprint] the token token is used in the login scenario

Stm32+ four pin OLED screen + Chinese character mold taking
![Paddlenlp is based on ernir3.0 text classification. Take the crime prediction task of cail2018-small dataset as an example [multiple tags]](/img/87/d943cc1e8169bb670414fbf7a322c5.jpg)
Paddlenlp is based on ernir3.0 text classification. Take the crime prediction task of cail2018-small dataset as an example [multiple tags]

STM32 - DMA direct memory access controller (cubemx configures DMA)

【三维目标检测】3DSSD(一)

Quadruped robot | gem (elevation map) + fast_ Deployment records of Leo (odometry) environment

Target segmentation learning
![Draem+sspcab [anomaly detection: block]](/img/97/75ce235c2021b56007eecb82afe4b0.png)
Draem+sspcab [anomaly detection: block]
随机推荐
770. 单词替换
PaddleNLP基于ERNIR3.0文本分类:WOS数据集为例(层次分类)
Padim [anomaly detection: embedded based]
Concise history of graphic technology
STM32 - interrupt overview (interrupt priority)
es个人整理的相关面试题
2022年一级建造师考试什么时候才能报名?
JS convert numbers to letters
LTE小区搜索过程及SCH/BCH设计
[reprint] the token token is used in the login scenario
842. Arrange numbers
CFA [anomaly detection: embedded_based]
842. 排列数字
Using nodejs to operate MySQL
Container configuration starts redis cluster single machine 6 nodes 3 Master 3 slave
Ngx+sql environment offline installation log (RPM installation)
Common library code snippet pytorch_ based【tips】
使用PCL批量将点云.bin文件转.pcd
How to install and use PHP library neo4j
MKD [anomaly detection: knowledge disruption]