登录
首页 » c » C语言浮点数的四舍五入

C语言浮点数的四舍五入

于 2023-08-20 发布 文件大小:2.06 kB
0 16
下载积分: 2 下载次数: 1

代码说明:

本代码描述C语言下为什么要对浮点数进行四舍五入,四舍五入的几个实现方法,以及不同的实现的BUG,程序有详细的注释,可以编译运行,有详细的输出。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 例程10 TFT LCD显示实验
    本实验利用STM32F407开发板连接TFTLCD模块,实现TFTLCD模块的显示,下载成功后,通过把LCD模块插入TFTLCD模块接口,按下复位之后,就可以看到LCD模块不停的显示一些信息并不断切换底色。同时该实验会显示LCD驱动器的ID,并且会在串口打印(按复位一次,打印一次)。(This experiment uses STM32F407 development board to connect TFTLCD module to realize the display of TFTLCD module. After downloading successfully, by inserting the LCD module into the interface of TFTLCD module, after pressing reset, we can see that the LCD module keeps displaying some information and changing the background color. At the same time, the experiment will display the ID of the LCD driver and print it on the serial port (press reset once, print once).)
    2018-11-12 16:51:04下载
    积分:1
  • STM32的iCAN通信程序,KEIL环境.rar
    STM32的iCAN通信程序,KEIL环境.rar STM32的iCAN通信程序,KEIL环境.rar
    2022-02-03 18:14:13下载
    积分:1
  • arithmetic
    有关算术编码对文本压缩的程序在c++环境中实现(about arithmetic compressed)
    2013-11-28 23:19:16下载
    积分:1
  • STC89C52andX5045
    STC89C52源代码,功能主要包括:看门狗、键盘、数码显示,通信控制。(STC89C52 source code, functions include: watchdog, keyboard, digital display, communication control.)
    2012-08-23 10:23:28下载
    积分:1
  • DWT
     数字水印技术是近年来图像保护技术研究领域的一个热点,本文提出了一种基于小波变换的图像数字 水印嵌入算法的Matlab 实现。实验结果表明,该算法具有较好的视觉效果和透明性。( Abstract  The digital watermarking technology is the most active topic in image protecting recently. In this paper , a digital watermarking algorithm based on Wavelet transform is proposed ,and give ou the program of this algorithm by MatLab. The experimental results demonstrate that the method possess good vision effect and transparence.)
    2009-06-04 17:20:15下载
    积分:1
  • abc
    数据结构最短路径求法,迪杰斯算法。大二时写的。在可以运行C的环境中都可运行。(Data structure for shortest path method, DiGisi algorithm. Sophomore year when writing. C can run in the environment can be run.)
    2008-06-30 17:03:50下载
    积分:1
  • calibration
    摄像头的标定,作为一般图像处理的第一步,显得尤为重要(Calibration of the camera, as a first step in the general image processing, it is particularly important)
    2013-03-17 20:25:05下载
    积分:1
  • Assignment1
    stm32连接机智云的小代码,可用云平台控制led的代码。(Stm32 connects the small code of tact cloud, which can control the led code with the cloud platform.)
    2018-03-06 08:32:43下载
    积分:1
  • TEST44X_E2prom
    说明:  430单片机eeprom试验程序,经典呀,欢迎交流(430 SCM EEPROM testing procedures, classic ah, welcome exchange)
    2006-02-15 14:59:45下载
    积分:1
  • DirectShow
    说明:  DirectShow 编程向导源代码,非常适合刚入门的同学,简单易懂。(DirectShow programmer guid,very good for those who start studying DirectShow .)
    2009-09-03 14:55:29下载
    积分:1
  • 696522资源总数
  • 104040会员总数
  • 35今日下载