/* isinf example */
#include <stdio.h> /* printf */
#include <math.h> /* isinf, sqrt */ int main()
{
printf ("isinf(0.0) : %d\n",isinf(0.0));
printf ("isinf(1.0/0.0) : %d\n",isinf(1.0/0.0));
printf ("isinf(-1.0/0.0) : %d\n",isinf(-1.0/0.0));
printf ("isinf(sqrt(-1.0)): %d\n",isinf(sqrt(-1.0)));
return ;
}

输出

isfinite(0.0)       :
isfinite(1.0/0.0) :
isfinite(-1.0/0.0) :
isfinite(sqrt(-1.0)):

最新文章

  1. rsync参数及通信
  2. Algorithm | Binary Search
  3. MongoDB学习
  4. IE跨域访问问题
  5. C#性能测试方法
  6. Python的平凡之路(5)
  7. Sql Server 系统表功能
  8. Java垃圾回收基础
  9. View页面根据权限显示不同的内容
  10. Spring+AOP+Log4j 用注解的方式记录指定某个方法的日志
  11. Spring MVC请求执行流程
  12. 【编程之外】还记得曾经给&#39;大学导师&#39;写过的报告嘛 --&gt; 前方高能
  13. checkbox对齐-复选框图标
  14. maven引入本地jar 打jar包
  15. C#+HtmlAgilityPack+Dapper走一波爬虫
  16. Android进阶(八)Can&#39;t create handler inside thread that has not called Looper.prepare()
  17. js异步处理历程
  18. 如何查看本地电脑ip
  19. CTO 之“六脉神剑”
  20. 图片和流的相互转化 (c/s)

热门文章

  1. (十)shiro之自定义Realm以及自定义Realm在web的应用demo
  2. 关于hashcode 和 equals 的内容总结
  3. Java数据结构HashMap
  4. c#获取本月有哪些周六、周日
  5. 【原创】大叔经验分享(93)centos安装oracle客户端
  6. css的导入与基础选择器
  7. c#NPOI导出2007版本excel
  8. CSS 样式表{二}
  9. nginx屏蔽版本号
  10. HDU - 6242 Geometry Problem (几何,思维,随机)