Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Untitled Ryu
创建于
6年前
差异永不过期
清除
导出
分享
解释
20 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
173 行
全部复制
186 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
340 行
全部复制
复制
已复制
复制
已复制
[
RUN ] F2sTest.ExactValueRoundEven
[
Suite] float to string
IN=01001000100101010001111110000100
-> 9772932 * 2^-5
-> 9772932 * 2^-5
39091728 * 5^7 / 10^4
39091728 * 5^7 / 10^4
4 3 -54 58
4 3 -54 58
V+=305404140
V+=305404140
V =305404125
V =305404125
V-=305404109
V-=305404109
vr is trailing zeros=true
vr is trailing zeros=true
e10=-3
e10=-3
V+=305404140
V+=305404140
V =305404125
V =305404125
V-=305404109
V-=305404109
vm is trailing zeros=false
vm is trailing zeros=false
vr is trailing zeros=true
vr is trailing zeros=true
V+=30540414
V+=30540414
V =30540412
V =30540412
V-=30540410
V-=30540410
d-10=false
d-10=false
30540412 5
30540412 5
复制
已复制
复制
已复制
vr is trailing zeros=false
V+=30540414
V =30540412
V-=30540410
O=30540413
EXP=-2
DIGITS=30540413
OLEN=8
EXP=6
/home/clyybber/projects/temporary/nryu/tf2s.nim(73, 27): Check failed: f2s(305404.12) == "3.0540412E5"
f2s(305404.12) was 3.0540413E5
-> 16586816 * 2^-11
66347264 * 5^13 / 10^9
9 4 -51 60
V+=80990314
V =80990312
V-=80990310
vr is trailing zeros=true
e10=-4
V+=80990314
V =80990312
V-=80990310
vm is trailing zeros=false
vr is trailing zeros=true
V+=80990314
V =80990312
V-=80990310
d-10=false
80990312 5
vr is trailing zeros=true
V+=80990314
V =80990312
V-=80990310
O=80990312
EXP=-4
DIGITS=80990312
OLEN=8
EXP=4
-> 9772932 * 2^-5
39091728 * 5^7 / 10^4
4 3 -54 58
V+=305404140
V =305404125
V-=305404109
vr is trailing zeros=true
e10=-3
V+=305404140
V =305404125
V-=305404109
vm is trailing zeros=false
vr is trailing zeros=true
vr is trailing zeros=true
V+=30540414
V+=30540414
V =30540412
V =30540412
V-=30540410
V-=30540410
复制
已复制
复制
已复制
O=30540412
d-10=false
30540412 5
vr is trailing zeros=false
V+=30540414
V =30540412
V-=30540410
O=30540413
EXP=-2
EXP=-2
复制
已复制
复制
已复制
DIGITS=3054041
2
DIGITS=3054041
3
OLEN=8
OLEN=8
EXP=6
EXP=6
复制
已复制
复制
已复制
IN=01000101111111010001100001000000
/home/clyybber/projects/temporary/nryu/tf2s.nim(27, 15): Check failed: f2s(305404.12'f32) == "3.0540412E5"
f2s(305404.12'f32) was 3.0540413E5
-> 16586816 * 2^-11
-> 16586816 * 2^-11
66347264 * 5^13 / 10^9
66347264 * 5^13 / 10^9
9 4 -51 60
9 4 -51 60
V+=80990314
V+=80990314
V =80990312
V =80990312
V-=80990310
V-=80990310
vr is trailing zeros=true
vr is trailing zeros=true
e10=-4
e10=-4
V+=80990314
V+=80990314
V =80990312
V =80990312
V-=80990310
V-=80990310
vm is trailing zeros=false
vm is trailing zeros=false
vr is trailing zeros=true
vr is trailing zeros=true
V+=80990314
V+=80990314
V =80990312
V =80990312
V-=80990310
V-=80990310
d-10=false
d-10=false
80990312 5
80990312 5
vr is trailing zeros=true
vr is trailing zeros=true
V+=80990314
V+=80990314
V =80990312
V =80990312
V-=80990310
V-=80990310
O=80990312
O=80990312
EXP=-4
EXP=-4
DIGITS=80990312
DIGITS=80990312
OLEN=8
OLEN=8
EXP=4
EXP=4
复制
已复制
复制
已复制
[ OK ] F2sTest.ExactValueRoundEven (0 ms)
[FAILED] extract value round even
[ RUN ] F2sTest.LotsOfTrailingZeros
IN=00111001100000000000000000000000
-> 8388608 * 2^-35
-> 8388608 * 2^-35
33554432 * 5^37 / 10^25
33554432 * 5^37 / 10^25
25 12 -33 58
25 12 -33 58
V+=244140639
V+=244140639
V =244140625
V =244140625
V-=244140617
V-=244140617
vr is trailing zeros=true
vr is trailing zeros=true
e10=-12
e10=-12
V+=244140639
V+=244140639
V =244140625
V =244140625
V-=244140617
V-=244140617
vm is trailing zeros=false
vm is trailing zeros=false
vr is trailing zeros=true
vr is trailing zeros=true
V+=24414063
V+=24414063
V =24414062
V =24414062
V-=24414061
V-=24414061
d-10=false
d-10=false
24414062 5
24414062 5
复制
已复制
复制
已复制
vr is trailing zeros=
true
vr is trailing zeros=
false
V+=24414063
V+=24414063
V =24414062
V =24414062
V-=24414061
V-=24414061
复制
已复制
复制
已复制
O=2441406
2
O=2441406
3
EXP=-11
EXP=-11
复制
已复制
复制
已复制
DIGITS=2441406
2
DIGITS=2441406
3
OLEN=8
OLEN=8
EXP=4294967293
EXP=4294967293
复制
已复制
复制
已复制
IN=00111011001000000000000000000000
/home/clyybber/projects/temporary/nryu/tf2s.nim(80, 28): Check failed: f2s(0.00024414062) == "2.4414062E-4"
f2s(0.00024414062) was 2.4414063E-4
-> 10485760 * 2^-32
-> 10485760 * 2^-32
41943040 * 5^34 / 10^23
41943040 * 5^34 / 10^23
23 11 -35 58
23 11 -35 58
V+=244140636
V+=244140636
V =244140625
V =244140625
V-=244140613
V-=244140613
vr is trailing zeros=true
vr is trailing zeros=true
e10=-11
e10=-11
V+=244140636
V+=244140636
V =244140625
V =244140625
V-=244140613
V-=244140613
vm is trailing zeros=false
vm is trailing zeros=false
vr is trailing zeros=true
vr is trailing zeros=true
V+=24414063
V+=24414063
V =24414062
V =24414062
V-=24414061
V-=24414061
d-10=false
d-10=false
24414062 5
24414062 5
复制
已复制
复制
已复制
vr is trailing zeros=false
V+=24414063
V =24414062
V-=24414061
O=24414063
EXP=-10
DIGITS=24414063
OLEN=8
EXP=4294967294
/home/clyybber/projects/temporary/nryu/tf2s.nim(81, 28): Check failed: f2s(0.0024414062) == "2.4414062E-3"
f2s(0.0024414062) was 2.4414063E-3
-> 9437184 * 2^-31
37748736 * 5^33 / 10^23
23 10 -37 60
V+=43945314
V =43945312
V-=43945310
vr is trailing zeros=true
e10=-10
V+=43945314
V =43945312
V-=43945310
vm is trailing zeros=false
vr is trailing zeros=true
V+=43945314
V =43945312
V-=43945310
d-10=false
43945312 5
vr is trailing zeros=true
V+=43945314
V =43945312
V-=43945310
O=43945312
EXP=-10
DIGITS=43945312
OLEN=8
EXP=4294967294
-> 13631488 * 2^-31
54525952 * 5^33 / 10^23
23 10 -37 60
V+=63476564
V =63476562
V-=63476560
vr is trailing zeros=true
e10=-10
V+=63476564
V =63476562
V-=63476560
vm is trailing zeros=false
vr is trailing zeros=true
V+=63476564
V =63476562
V-=63476560
d-10=false
63476562 5
vr is trailing zeros=true
V+=63476564
V =63476562
V-=63476560
O=63476562
EXP=-10
DIGITS=63476562
OLEN=8
EXP=4294967294
-> 8388608 * 2^-35
33554432 * 5^37 / 10^25
25 12 -33 58
V+=244140639
V =244140625
V-=244140617
vr is trailing zeros=true
e10=-12
V+=244140639
V =244140625
V-=244140617
vm is trailing zeros=false
vr is trailing zeros=true
vr is trailing zeros=true
V+=24414063
V+=24414063
V =24414062
V =24414062
V-=24414061
V-=24414061
复制
已复制
复制
已复制
O=24414062
d-10=false
24414062 5
vr is trailing zeros=false
V+=24414063
V =24414062
V-=24414061
O=24414063
EXP=-11
DIGITS=24414063
OLEN=8
EXP=4294967293
/home/clyybber/projects/temporary/nryu/tf2s.nim(27, 15): Check failed: f2s(0.00024414062'f32) == "2.4414062E-4"
f2s(0.00024414062'f32) was 2.4414063E-4
-> 10485760 * 2^-32
41943040 * 5^34 / 10^23
23 11 -35 58
V+=244140636
V =244140625
V-=244140613
vr is trailing zeros=true
e10=-11
V+=244140636
V =244140625
V-=244140613
vm is trailing zeros=false
vr is trailing zeros=true
V+=24414063
V =24414062
V-=24414061
d-10=false
24414062 5
vr is trailing zeros=false
V+=24414063
V =24414062
V-=24414061
O=24414063
EXP=-10
EXP=-10
复制
已复制
复制
已复制
DIGITS=2441406
2
DIGITS=2441406
3
OLEN=8
OLEN=8
EXP=4294967294
EXP=4294967294
复制
已复制
复制
已复制
IN=00111011100100000000000000000000
/home/clyybber/projects/temporary/nryu/tf2s.nim(27, 15): Check failed: f2s(0.0024414062'f32) == "2.4414062E-3"
f2s(0.0024414062'f32) was 2.4414063E-3
-> 9437184 * 2^-31
-> 9437184 * 2^-31
37748736 * 5^33 / 10^23
37748736 * 5^33 / 10^23
23 10 -37 60
23 10 -37 60
V+=43945314
V+=43945314
V =43945312
V =43945312
V-=43945310
V-=43945310
vr is trailing zeros=true
vr is trailing zeros=true
e10=-10
e10=-10
V+=43945314
V+=43945314
V =43945312
V =43945312
V-=43945310
V-=43945310
vm is trailing zeros=false
vm is trailing zeros=false
vr is trailing zeros=true
vr is trailing zeros=true
V+=43945314
V+=43945314
V =43945312
V =43945312
V-=43945310
V-=43945310
d-10=false
d-10=false
43945312 5
43945312 5
vr is trailing zeros=true
vr is trailing zeros=true
V+=43945314
V+=43945314
V =43945312
V =43945312
V-=43945310
V-=43945310
O=43945312
O=43945312
EXP=-10
EXP=-10
DIGITS=43945312
DIGITS=43945312
OLEN=8
OLEN=8
EXP=4294967294
EXP=4294967294
复制
已复制
复制
已复制
IN=00111011110100000000000000000000
-> 13631488 * 2^-31
-> 13631488 * 2^-31
54525952 * 5^33 / 10^23
54525952 * 5^33 / 10^23
23 10 -37 60
23 10 -37 60
V+=63476564
V+=63476564
V =63476562
V =63476562
V-=63476560
V-=63476560
vr is trailing zeros=true
vr is trailing zeros=true
e10=-10
e10=-10
V+=63476564
V+=63476564
V =63476562
V =63476562
V-=63476560
V-=63476560
vm is trailing zeros=false
vm is trailing zeros=false
vr is trailing zeros=true
vr is trailing zeros=true
V+=63476564
V+=63476564
V =63476562
V =63476562
V-=63476560
V-=63476560
d-10=false
d-10=false
63476562 5
63476562 5
vr is trailing zeros=true
vr is trailing zeros=true
V+=63476564
V+=63476564
V =63476562
V =63476562
V-=63476560
V-=63476560
O=63476562
O=63476562
EXP=-10
EXP=-10
DIGITS=63476562
DIGITS=63476562
OLEN=8
OLEN=8
EXP=4294967294
EXP=4294967294
复制
已复制
复制
已复制
[ OK ] F2sTest.L
ots
OfT
railing
Z
eros
(0 ms)
[FAILED] l
ots
of t
railing
z
eros
已保存差异
原始文本
打开文件
[ RUN ] F2sTest.ExactValueRoundEven IN=01001000100101010001111110000100 -> 9772932 * 2^-5 39091728 * 5^7 / 10^4 4 3 -54 58 V+=305404140 V =305404125 V-=305404109 vr is trailing zeros=true e10=-3 V+=305404140 V =305404125 V-=305404109 vm is trailing zeros=false vr is trailing zeros=true V+=30540414 V =30540412 V-=30540410 d-10=false 30540412 5 vr is trailing zeros=true V+=30540414 V =30540412 V-=30540410 O=30540412 EXP=-2 DIGITS=30540412 OLEN=8 EXP=6 IN=01000101111111010001100001000000 -> 16586816 * 2^-11 66347264 * 5^13 / 10^9 9 4 -51 60 V+=80990314 V =80990312 V-=80990310 vr is trailing zeros=true e10=-4 V+=80990314 V =80990312 V-=80990310 vm is trailing zeros=false vr is trailing zeros=true V+=80990314 V =80990312 V-=80990310 d-10=false 80990312 5 vr is trailing zeros=true V+=80990314 V =80990312 V-=80990310 O=80990312 EXP=-4 DIGITS=80990312 OLEN=8 EXP=4 [ OK ] F2sTest.ExactValueRoundEven (0 ms) [ RUN ] F2sTest.LotsOfTrailingZeros IN=00111001100000000000000000000000 -> 8388608 * 2^-35 33554432 * 5^37 / 10^25 25 12 -33 58 V+=244140639 V =244140625 V-=244140617 vr is trailing zeros=true e10=-12 V+=244140639 V =244140625 V-=244140617 vm is trailing zeros=false vr is trailing zeros=true V+=24414063 V =24414062 V-=24414061 d-10=false 24414062 5 vr is trailing zeros=true V+=24414063 V =24414062 V-=24414061 O=24414062 EXP=-11 DIGITS=24414062 OLEN=8 EXP=4294967293 IN=00111011001000000000000000000000 -> 10485760 * 2^-32 41943040 * 5^34 / 10^23 23 11 -35 58 V+=244140636 V =244140625 V-=244140613 vr is trailing zeros=true e10=-11 V+=244140636 V =244140625 V-=244140613 vm is trailing zeros=false vr is trailing zeros=true V+=24414063 V =24414062 V-=24414061 d-10=false 24414062 5 vr is trailing zeros=true V+=24414063 V =24414062 V-=24414061 O=24414062 EXP=-10 DIGITS=24414062 OLEN=8 EXP=4294967294 IN=00111011100100000000000000000000 -> 9437184 * 2^-31 37748736 * 5^33 / 10^23 23 10 -37 60 V+=43945314 V =43945312 V-=43945310 vr is trailing zeros=true e10=-10 V+=43945314 V =43945312 V-=43945310 vm is trailing zeros=false vr is trailing zeros=true V+=43945314 V =43945312 V-=43945310 d-10=false 43945312 5 vr is trailing zeros=true V+=43945314 V =43945312 V-=43945310 O=43945312 EXP=-10 DIGITS=43945312 OLEN=8 EXP=4294967294 IN=00111011110100000000000000000000 -> 13631488 * 2^-31 54525952 * 5^33 / 10^23 23 10 -37 60 V+=63476564 V =63476562 V-=63476560 vr is trailing zeros=true e10=-10 V+=63476564 V =63476562 V-=63476560 vm is trailing zeros=false vr is trailing zeros=true V+=63476564 V =63476562 V-=63476560 d-10=false 63476562 5 vr is trailing zeros=true V+=63476564 V =63476562 V-=63476560 O=63476562 EXP=-10 DIGITS=63476562 OLEN=8 EXP=4294967294 [ OK ] F2sTest.LotsOfTrailingZeros (0 ms)
更改后文本
打开文件
[Suite] float to string -> 9772932 * 2^-5 39091728 * 5^7 / 10^4 4 3 -54 58 V+=305404140 V =305404125 V-=305404109 vr is trailing zeros=true e10=-3 V+=305404140 V =305404125 V-=305404109 vm is trailing zeros=false vr is trailing zeros=true V+=30540414 V =30540412 V-=30540410 d-10=false 30540412 5 vr is trailing zeros=false V+=30540414 V =30540412 V-=30540410 O=30540413 EXP=-2 DIGITS=30540413 OLEN=8 EXP=6 /home/clyybber/projects/temporary/nryu/tf2s.nim(73, 27): Check failed: f2s(305404.12) == "3.0540412E5" f2s(305404.12) was 3.0540413E5 -> 16586816 * 2^-11 66347264 * 5^13 / 10^9 9 4 -51 60 V+=80990314 V =80990312 V-=80990310 vr is trailing zeros=true e10=-4 V+=80990314 V =80990312 V-=80990310 vm is trailing zeros=false vr is trailing zeros=true V+=80990314 V =80990312 V-=80990310 d-10=false 80990312 5 vr is trailing zeros=true V+=80990314 V =80990312 V-=80990310 O=80990312 EXP=-4 DIGITS=80990312 OLEN=8 EXP=4 -> 9772932 * 2^-5 39091728 * 5^7 / 10^4 4 3 -54 58 V+=305404140 V =305404125 V-=305404109 vr is trailing zeros=true e10=-3 V+=305404140 V =305404125 V-=305404109 vm is trailing zeros=false vr is trailing zeros=true V+=30540414 V =30540412 V-=30540410 d-10=false 30540412 5 vr is trailing zeros=false V+=30540414 V =30540412 V-=30540410 O=30540413 EXP=-2 DIGITS=30540413 OLEN=8 EXP=6 /home/clyybber/projects/temporary/nryu/tf2s.nim(27, 15): Check failed: f2s(305404.12'f32) == "3.0540412E5" f2s(305404.12'f32) was 3.0540413E5 -> 16586816 * 2^-11 66347264 * 5^13 / 10^9 9 4 -51 60 V+=80990314 V =80990312 V-=80990310 vr is trailing zeros=true e10=-4 V+=80990314 V =80990312 V-=80990310 vm is trailing zeros=false vr is trailing zeros=true V+=80990314 V =80990312 V-=80990310 d-10=false 80990312 5 vr is trailing zeros=true V+=80990314 V =80990312 V-=80990310 O=80990312 EXP=-4 DIGITS=80990312 OLEN=8 EXP=4 [FAILED] extract value round even -> 8388608 * 2^-35 33554432 * 5^37 / 10^25 25 12 -33 58 V+=244140639 V =244140625 V-=244140617 vr is trailing zeros=true e10=-12 V+=244140639 V =244140625 V-=244140617 vm is trailing zeros=false vr is trailing zeros=true V+=24414063 V =24414062 V-=24414061 d-10=false 24414062 5 vr is trailing zeros=false V+=24414063 V =24414062 V-=24414061 O=24414063 EXP=-11 DIGITS=24414063 OLEN=8 EXP=4294967293 /home/clyybber/projects/temporary/nryu/tf2s.nim(80, 28): Check failed: f2s(0.00024414062) == "2.4414062E-4" f2s(0.00024414062) was 2.4414063E-4 -> 10485760 * 2^-32 41943040 * 5^34 / 10^23 23 11 -35 58 V+=244140636 V =244140625 V-=244140613 vr is trailing zeros=true e10=-11 V+=244140636 V =244140625 V-=244140613 vm is trailing zeros=false vr is trailing zeros=true V+=24414063 V =24414062 V-=24414061 d-10=false 24414062 5 vr is trailing zeros=false V+=24414063 V =24414062 V-=24414061 O=24414063 EXP=-10 DIGITS=24414063 OLEN=8 EXP=4294967294 /home/clyybber/projects/temporary/nryu/tf2s.nim(81, 28): Check failed: f2s(0.0024414062) == "2.4414062E-3" f2s(0.0024414062) was 2.4414063E-3 -> 9437184 * 2^-31 37748736 * 5^33 / 10^23 23 10 -37 60 V+=43945314 V =43945312 V-=43945310 vr is trailing zeros=true e10=-10 V+=43945314 V =43945312 V-=43945310 vm is trailing zeros=false vr is trailing zeros=true V+=43945314 V =43945312 V-=43945310 d-10=false 43945312 5 vr is trailing zeros=true V+=43945314 V =43945312 V-=43945310 O=43945312 EXP=-10 DIGITS=43945312 OLEN=8 EXP=4294967294 -> 13631488 * 2^-31 54525952 * 5^33 / 10^23 23 10 -37 60 V+=63476564 V =63476562 V-=63476560 vr is trailing zeros=true e10=-10 V+=63476564 V =63476562 V-=63476560 vm is trailing zeros=false vr is trailing zeros=true V+=63476564 V =63476562 V-=63476560 d-10=false 63476562 5 vr is trailing zeros=true V+=63476564 V =63476562 V-=63476560 O=63476562 EXP=-10 DIGITS=63476562 OLEN=8 EXP=4294967294 -> 8388608 * 2^-35 33554432 * 5^37 / 10^25 25 12 -33 58 V+=244140639 V =244140625 V-=244140617 vr is trailing zeros=true e10=-12 V+=244140639 V =244140625 V-=244140617 vm is trailing zeros=false vr is trailing zeros=true V+=24414063 V =24414062 V-=24414061 d-10=false 24414062 5 vr is trailing zeros=false V+=24414063 V =24414062 V-=24414061 O=24414063 EXP=-11 DIGITS=24414063 OLEN=8 EXP=4294967293 /home/clyybber/projects/temporary/nryu/tf2s.nim(27, 15): Check failed: f2s(0.00024414062'f32) == "2.4414062E-4" f2s(0.00024414062'f32) was 2.4414063E-4 -> 10485760 * 2^-32 41943040 * 5^34 / 10^23 23 11 -35 58 V+=244140636 V =244140625 V-=244140613 vr is trailing zeros=true e10=-11 V+=244140636 V =244140625 V-=244140613 vm is trailing zeros=false vr is trailing zeros=true V+=24414063 V =24414062 V-=24414061 d-10=false 24414062 5 vr is trailing zeros=false V+=24414063 V =24414062 V-=24414061 O=24414063 EXP=-10 DIGITS=24414063 OLEN=8 EXP=4294967294 /home/clyybber/projects/temporary/nryu/tf2s.nim(27, 15): Check failed: f2s(0.0024414062'f32) == "2.4414062E-3" f2s(0.0024414062'f32) was 2.4414063E-3 -> 9437184 * 2^-31 37748736 * 5^33 / 10^23 23 10 -37 60 V+=43945314 V =43945312 V-=43945310 vr is trailing zeros=true e10=-10 V+=43945314 V =43945312 V-=43945310 vm is trailing zeros=false vr is trailing zeros=true V+=43945314 V =43945312 V-=43945310 d-10=false 43945312 5 vr is trailing zeros=true V+=43945314 V =43945312 V-=43945310 O=43945312 EXP=-10 DIGITS=43945312 OLEN=8 EXP=4294967294 -> 13631488 * 2^-31 54525952 * 5^33 / 10^23 23 10 -37 60 V+=63476564 V =63476562 V-=63476560 vr is trailing zeros=true e10=-10 V+=63476564 V =63476562 V-=63476560 vm is trailing zeros=false vr is trailing zeros=true V+=63476564 V =63476562 V-=63476560 d-10=false 63476562 5 vr is trailing zeros=true V+=63476564 V =63476562 V-=63476560 O=63476562 EXP=-10 DIGITS=63476562 OLEN=8 EXP=4294967294 [FAILED] lots of trailing zeros
查找差异