我正在尝试使用Xcode 5.1中的LLDB调试内容
这是控制台日志:
(lldb) call (double)tan(4)
(double) $1 = 3.2310333083476262E-296
(lldb) call (double)tan(4)
(double) $2 = 1.7383389519589487E-310
(lldb) call (double)tan(4)
(double) $3 = 2.2250738585072034E-308
(lldb) call (double)tanl(4)
(double) $5 = 0
(lldb) call (long double)tanl(4)
(long double) $6 = 6.26240511218997490612E-4941
(lldb) call (long double)tanl(4)
(long double) $7 = NaN
(lldb) call (long double)tanl(4)
(long double) $8 = 1.45807981275298984101E-4950
为什么tan表现为随机数生成器?
我使用该功能的结果是我的程序中的成员,它在lldb
中显示错误,我相信它们是类型问题。