当前位置:网站首页>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的数据是大端模式二进制数据,读取数据时注意。
边栏推荐
- Awk blank line filtering
- JS get the current time (year month day hour minute second)
- Target segmentation learning
- Detection and tracking evaluation index
- Solve various problems of sudo rosdep init and rosdep update
- Padim [anomaly detection: embedded based]
- Bluetooth smart Bracelet system based on STM32 MCU
- php二维数组如何删除去除第一行元素
- Draem+sspcab [anomaly detection: block]
- STM32 - reset and clock control (cubemx for clock configuration)
猜你喜欢

WinForm jump to the second form case
![[reprint] the token token is used in the login scenario](/img/84/77dc2316e2adc380a580e2456c0e59.png)
[reprint] the token token is used in the login scenario
![Memseg [anomaly detection: embedded based]](/img/10/aea2b6ecf55e04fe24f78e5fb897be.png)
Memseg [anomaly detection: embedded based]

When can I sign up for the 2022 class I constructor examination?
![Differernet [anomaly detection: normalizing flow]](/img/75/958d753c20227fbbfe1085e7d6ce6f.png)
Differernet [anomaly detection: normalizing flow]
![[connect your mobile phone wirelessly] - debug your mobile device wirelessly via LAN](/img/7f/c49fd8c2cbe21585a080852833dcb4.png)
[connect your mobile phone wirelessly] - debug your mobile device wirelessly via LAN

Paddlenlp text classification based on ernir3.0: take wos dataset as an example (hierarchical classification)

JVM——自定义类加载器

Stm32subeide (10) -- ADC scans multiple channels in DMA mode

Vscode ROS configuration GDB debugging error record
随机推荐
Install PCL and VTK under the background of ROS installation, and solve VTK and PCL_ ROS conflict problem
PC side web page effects (client series, scroll series, immediate function execution, sidebar effects)
UNET [basic network]
PC side special effects - animation function
PUA in the workplace, but it makes sense
Log4j vulnerability elk platform processing method (logstah5.5.1)
Mysql8.0 cannot authorize users or prompt you are not allowed to create a user with grant
STM32 - DMA direct memory access controller (cubemx configures DMA)
Paddlenlp text classification based on ernir3.0: take wos dataset as an example (hierarchical classification)
STM32 - advanced control timer (time base unit, functional block diagram, input, capture, output, open circuit)
JS get the current time (year month day hour minute second)
20-09-27 the project is migrated to Alibaba toss record (the network card order makes the service unable to connect to DB through haproxy)
【三维目标检测】3DSSD(二)
CS flow [abnormal detection: normalizing flow]
二进制的原码、反码、补码
使用PCL批量将点云.bin文件转.pcd
JVM -- custom class loader
Concise history of graphic technology
How to use sprintf function
ssh免密登陆