⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rounding.dectest

📁 eda is an estimation of distributions algorithm
💻 DECTEST
📖 第 1 页 / 共 4 页
字号:
rzex043  add -0    0    ->  0
rzex044  add -0   -0    -> -0
rzex045  add  1   -1    ->  0
rzex046  add -1    1    ->  0
rzex047  add  1.5 -1.5  ->  0.0
rzex048  add -1.5  1.5  ->  0.0
rzex049  add  2   -2    ->  0
rzex050  add -2    2    ->  0

rounding: floor
rzex051  add  0    0    ->  0
rzex052  add  0   -0    -> -0    -- here are two 'curious'
rzex053  add -0    0    -> -0    --
rzex054  add -0   -0    -> -0
rzex055  add  1   -1    -> -0    -- here are the rest
rzex056  add -1    1    -> -0    -- ..
rzex057  add  1.5 -1.5  -> -0.0  -- ..
rzex058  add -1.5  1.5  -> -0.0  -- ..
rzex059  add  2   -2    -> -0    -- ..
rzex060  add -2    2    -> -0    -- ..

rounding: ceiling
rzex061  add  0    0    ->  0
rzex062  add  0   -0    ->  0
rzex063  add -0    0    ->  0
rzex064  add -0   -0    -> -0
rzex065  add  1   -1    ->  0
rzex066  add -1    1    ->  0
rzex067  add  1.5 -1.5  ->  0.0
rzex068  add -1.5  1.5  ->  0.0
rzex069  add  2   -2    ->  0
rzex070  add -2    2    ->  0


-- Division operators -------------------------------------------------

rounding: down
rdvx101  divide 12345  1         ->  12345
rdvx102  divide 12345  1.0001    ->  12343 Inexact Rounded
rdvx103  divide 12345  1.001     ->  12332 Inexact Rounded
rdvx104  divide 12345  1.01      ->  12222 Inexact Rounded
rdvx105  divide 12345  1.1       ->  11222 Inexact Rounded
rdvx106  divide 12355  4         ->   3088.7 Inexact Rounded
rdvx107  divide 12345  4         ->   3086.2 Inexact Rounded
rdvx108  divide 12355  4.0001    ->   3088.6 Inexact Rounded
rdvx109  divide 12345  4.0001    ->   3086.1 Inexact Rounded
rdvx110  divide 12345  4.9       ->   2519.3 Inexact Rounded
rdvx111  divide 12345  4.99      ->   2473.9 Inexact Rounded
rdvx112  divide 12345  4.999     ->   2469.4 Inexact Rounded
rdvx113  divide 12345  4.9999    ->   2469.0 Inexact Rounded
rdvx114  divide 12345  5         ->   2469
rdvx115  divide 12345  5.0001    ->  2468.9 Inexact Rounded
rdvx116  divide 12345  5.001     ->  2468.5 Inexact Rounded
rdvx117  divide 12345  5.01      ->  2464.0 Inexact Rounded
rdvx118  divide 12345  5.1       ->  2420.5 Inexact Rounded

rounding: half_down
rdvx201  divide 12345  1         ->  12345
rdvx202  divide 12345  1.0001    ->  12344 Inexact Rounded
rdvx203  divide 12345  1.001     ->  12333 Inexact Rounded
rdvx204  divide 12345  1.01      ->  12223 Inexact Rounded
rdvx205  divide 12345  1.1       ->  11223 Inexact Rounded
rdvx206  divide 12355  4         ->   3088.7 Inexact Rounded
rdvx207  divide 12345  4         ->   3086.2 Inexact Rounded
rdvx208  divide 12355  4.0001    ->   3088.7 Inexact Rounded
rdvx209  divide 12345  4.0001    ->   3086.2 Inexact Rounded
rdvx210  divide 12345  4.9       ->   2519.4 Inexact Rounded
rdvx211  divide 12345  4.99      ->   2473.9 Inexact Rounded
rdvx212  divide 12345  4.999     ->   2469.5 Inexact Rounded
rdvx213  divide 12345  4.9999    ->   2469.0 Inexact Rounded
rdvx214  divide 12345  5         ->   2469
rdvx215  divide 12345  5.0001    ->  2469.0 Inexact Rounded
rdvx216  divide 12345  5.001     ->  2468.5 Inexact Rounded
rdvx217  divide 12345  5.01      ->  2464.1 Inexact Rounded
rdvx218  divide 12345  5.1       ->  2420.6 Inexact Rounded

rounding: half_even
rdvx301  divide 12345  1         ->  12345
rdvx302  divide 12345  1.0001    ->  12344 Inexact Rounded
rdvx303  divide 12345  1.001     ->  12333 Inexact Rounded
rdvx304  divide 12345  1.01      ->  12223 Inexact Rounded
rdvx305  divide 12345  1.1       ->  11223 Inexact Rounded
rdvx306  divide 12355  4         ->   3088.8 Inexact Rounded
rdvx307  divide 12345  4         ->   3086.2 Inexact Rounded
rdvx308  divide 12355  4.0001    ->   3088.7 Inexact Rounded
rdvx309  divide 12345  4.0001    ->   3086.2 Inexact Rounded
rdvx310  divide 12345  4.9       ->   2519.4 Inexact Rounded
rdvx311  divide 12345  4.99      ->   2473.9 Inexact Rounded
rdvx312  divide 12345  4.999     ->   2469.5 Inexact Rounded
rdvx313  divide 12345  4.9999    ->   2469.0 Inexact Rounded
rdvx314  divide 12345  5         ->   2469
rdvx315  divide 12345  5.0001    ->  2469.0 Inexact Rounded
rdvx316  divide 12345  5.001     ->  2468.5 Inexact Rounded
rdvx317  divide 12345  5.01      ->  2464.1 Inexact Rounded
rdvx318  divide 12345  5.1       ->  2420.6 Inexact Rounded

rounding: half_up
rdvx401  divide 12345  1         ->  12345
rdvx402  divide 12345  1.0001    ->  12344 Inexact Rounded
rdvx403  divide 12345  1.001     ->  12333 Inexact Rounded
rdvx404  divide 12345  1.01      ->  12223 Inexact Rounded
rdvx405  divide 12345  1.1       ->  11223 Inexact Rounded
rdvx406  divide 12355  4         ->   3088.8 Inexact Rounded
rdvx407  divide 12345  4         ->   3086.3 Inexact Rounded
rdvx408  divide 12355  4.0001    ->   3088.7 Inexact Rounded
rdvx409  divide 12345  4.0001    ->   3086.2 Inexact Rounded
rdvx410  divide 12345  4.9       ->   2519.4 Inexact Rounded
rdvx411  divide 12345  4.99      ->   2473.9 Inexact Rounded
rdvx412  divide 12345  4.999     ->   2469.5 Inexact Rounded
rdvx413  divide 12345  4.9999    ->   2469.0 Inexact Rounded
rdvx414  divide 12345  5         ->   2469
rdvx415  divide 12345  5.0001    ->  2469.0 Inexact Rounded
rdvx416  divide 12345  5.001     ->  2468.5 Inexact Rounded
rdvx417  divide 12345  5.01      ->  2464.1 Inexact Rounded
rdvx418  divide 12345  5.1       ->  2420.6 Inexact Rounded

rounding: up
rdvx501  divide 12345  1         ->  12345
rdvx502  divide 12345  1.0001    ->  12344 Inexact Rounded
rdvx503  divide 12345  1.001     ->  12333 Inexact Rounded
rdvx504  divide 12345  1.01      ->  12223 Inexact Rounded
rdvx505  divide 12345  1.1       ->  11223 Inexact Rounded
rdvx506  divide 12355  4         ->   3088.8 Inexact Rounded
rdvx507  divide 12345  4         ->   3086.3 Inexact Rounded
rdvx508  divide 12355  4.0001    ->   3088.7 Inexact Rounded
rdvx509  divide 12345  4.0001    ->   3086.2 Inexact Rounded
rdvx510  divide 12345  4.9       ->   2519.4 Inexact Rounded
rdvx511  divide 12345  4.99      ->   2474.0 Inexact Rounded
rdvx512  divide 12345  4.999     ->   2469.5 Inexact Rounded
rdvx513  divide 12345  4.9999    ->   2469.1 Inexact Rounded
rdvx514  divide 12345  5         ->   2469
rdvx515  divide 12345  5.0001    ->  2469.0 Inexact Rounded
rdvx516  divide 12345  5.001     ->  2468.6 Inexact Rounded
rdvx517  divide 12345  5.01      ->  2464.1 Inexact Rounded
rdvx518  divide 12345  5.1       ->  2420.6 Inexact Rounded

rounding: floor
rdvx601  divide 12345  1         ->  12345
rdvx602  divide 12345  1.0001    ->  12343 Inexact Rounded
rdvx603  divide 12345  1.001     ->  12332 Inexact Rounded
rdvx604  divide 12345  1.01      ->  12222 Inexact Rounded
rdvx605  divide 12345  1.1       ->  11222 Inexact Rounded
rdvx606  divide 12355  4         ->   3088.7 Inexact Rounded
rdvx607  divide 12345  4         ->   3086.2 Inexact Rounded
rdvx608  divide 12355  4.0001    ->   3088.6 Inexact Rounded
rdvx609  divide 12345  4.0001    ->   3086.1 Inexact Rounded
rdvx610  divide 12345  4.9       ->   2519.3 Inexact Rounded
rdvx611  divide 12345  4.99      ->   2473.9 Inexact Rounded
rdvx612  divide 12345  4.999     ->   2469.4 Inexact Rounded
rdvx613  divide 12345  4.9999    ->   2469.0 Inexact Rounded
rdvx614  divide 12345  5         ->   2469
rdvx615  divide 12345  5.0001    ->  2468.9 Inexact Rounded
rdvx616  divide 12345  5.001     ->  2468.5 Inexact Rounded
rdvx617  divide 12345  5.01      ->  2464.0 Inexact Rounded
rdvx618  divide 12345  5.1       ->  2420.5 Inexact Rounded

rounding: ceiling
rdvx701  divide 12345  1         ->  12345
rdvx702  divide 12345  1.0001    ->  12344 Inexact Rounded
rdvx703  divide 12345  1.001     ->  12333 Inexact Rounded
rdvx704  divide 12345  1.01      ->  12223 Inexact Rounded
rdvx705  divide 12345  1.1       ->  11223 Inexact Rounded
rdvx706  divide 12355  4         ->   3088.8 Inexact Rounded
rdvx707  divide 12345  4         ->   3086.3 Inexact Rounded
rdvx708  divide 12355  4.0001    ->   3088.7 Inexact Rounded
rdvx709  divide 12345  4.0001    ->   3086.2 Inexact Rounded
rdvx710  divide 12345  4.9       ->   2519.4 Inexact Rounded
rdvx711  divide 12345  4.99      ->   2474.0 Inexact Rounded
rdvx712  divide 12345  4.999     ->   2469.5 Inexact Rounded
rdvx713  divide 12345  4.9999    ->   2469.1 Inexact Rounded
rdvx714  divide 12345  5         ->   2469
rdvx715  divide 12345  5.0001    ->  2469.0 Inexact Rounded
rdvx716  divide 12345  5.001     ->  2468.6 Inexact Rounded
rdvx717  divide 12345  5.01      ->  2464.1 Inexact Rounded
rdvx718  divide 12345  5.1       ->  2420.6 Inexact Rounded

-- [divideInteger and remainder unaffected]

-- Multiplication operator --------------------------------------------

rounding: down
rmux101  multiply 12345  1         ->  12345
rmux102  multiply 12345  1.0001    ->  12346 Inexact Rounded
rmux103  multiply 12345  1.001     ->  12357 Inexact Rounded
rmux104  multiply 12345  1.01      ->  12468 Inexact Rounded
rmux105  multiply 12345  1.1       ->  13579 Inexact Rounded
rmux106  multiply 12345  4         ->  49380
rmux107  multiply 12345  4.0001    ->  49381 Inexact Rounded
rmux108  multiply 12345  4.9       ->  60490 Inexact Rounded
rmux109  multiply 12345  4.99      ->  61601 Inexact Rounded
rmux110  multiply 12345  4.999     ->  61712 Inexact Rounded
rmux111  multiply 12345  4.9999    ->  61723 Inexact Rounded
rmux112  multiply 12345  5         ->  61725
rmux113  multiply 12345  5.0001    ->  61726 Inexact Rounded
rmux114  multiply 12345  5.001     ->  61737 Inexact Rounded
rmux115  multiply 12345  5.01      ->  61848 Inexact Rounded
rmux116  multiply 12345  12        ->  1.4814E+5 Rounded
rmux117  multiply 12345  13        ->  1.6048E+5 Inexact Rounded
rmux118  multiply 12355  12        ->  1.4826E+5 Rounded
rmux119  multiply 12355  13        ->  1.6061E+5 Inexact Rounded

rounding: half_down
rmux201  multiply 12345  1         ->  12345
rmux202  multiply 12345  1.0001    ->  12346 Inexact Rounded
rmux203  multiply 12345  1.001     ->  12357 Inexact Rounded
rmux204  multiply 12345  1.01      ->  12468 Inexact Rounded
rmux205  multiply 12345  1.1       ->  13579 Inexact Rounded
rmux206  multiply 12345  4         ->  49380
rmux207  multiply 12345  4.0001    ->  49381 Inexact Rounded
rmux208  multiply 12345  4.9       ->  60490 Inexact Rounded
rmux209  multiply 12345  4.99      ->  61602 Inexact Rounded
rmux210  multiply 12345  4.999     ->  61713 Inexact Rounded
rmux211  multiply 12345  4.9999    ->  61724 Inexact Rounded
rmux212  multiply 12345  5         ->  61725
rmux213  multiply 12345  5.0001    ->  61726 Inexact Rounded
rmux214  multiply 12345  5.001     ->  61737 Inexact Rounded
rmux215  multiply 12345  5.01      ->  61848 Inexact Rounded
rmux216  multiply 12345  12        ->  1.4814E+5 Rounded
rmux217  multiply 12345  13        ->  1.6048E+5 Inexact Rounded
rmux218  multiply 12355  12        ->  1.4826E+5 Rounded
rmux219  multiply 12355  13        ->  1.6061E+5 Inexact Rounded

rounding: half_even
rmux301  multiply 12345  1         ->  12345
rmux302  multiply 12345  1.0001    ->  12346 Inexact Rounded
rmux303  multiply 12345  1.001     ->  12357 Inexact Rounded
rmux304  multiply 12345  1.01      ->  12468 Inexact Rounded
rmux305  multiply 12345  1.1       ->  13580 Inexact Rounded
rmux306  multiply 12345  4         ->  49380
rmux307  multiply 12345  4.0001    ->  49381 Inexact Rounded
rmux308  multiply 12345  4.9       ->  60490 Inexact Rounded
rmux309  multiply 12345  4.99      ->  61602 Inexact Rounded
rmux310  multiply 12345  4.999     ->  61713 Inexact Rounded
rmux311  multiply 12345  4.9999    ->  61724 Inexact Rounded
rmux312  multiply 12345  5         ->  61725
rmux313  multiply 12345  5.0001    ->  61726 Inexact Rounded
rmux314  multiply 12345  5.001     ->  61737 Inexact Rounded
rmux315  multiply 12345  5.01      ->  61848 Inexact Rounded
rmux316  multiply 12345  12        ->  1.4814E+5 Rounded
rmux317  multiply 12345  13        ->  1.6048E+5 Inexact Rounded
rmux318  multiply 12355  12        ->  1.4826E+5 Rounded
rmux319  multiply 12355  13        ->  1.6062E+5 Inexact Rounded

rounding: half_up
rmux401  multiply 12345  1         ->  12345
rmux402  multiply 12345  1.0001    ->  12346 Inexact Rounded
rmux403  multiply 12345  1.001     ->  12357 Inexact Rounded
rmux404  multiply 12345  1.01      ->  12468 Inexact Rounded
rmux405  multiply 12345  1.1       ->  13580 Inexact Rounded
rmux406  multiply 12345  4         ->  49380
rmux407  multiply 12345  4.0001    ->  49381 Inexact Rounded
rmux408  multiply 12345  4.9       ->  60491 Inexact Rounded
rmux409  multiply 12345  4.99      ->  61602 Inexact Rounded
rmux410  multiply 12345  4.999     ->  61713 Inexact Rounded
rmux411  multiply 12345  4.9999    ->  61724 Inexact Rounded
rmux412  multiply 12345  5         ->  61725
rmux413  multiply 12345  5.0001    ->  61726 Inexact Rounded
rmux414  multiply 12345  5.001     ->  61737 Inexact Rounded
rmux415  multiply 12345  5.01      ->  61848 Inexact Rounded
rmux416  multiply 12345  12        ->  1.4814E+5 Rounded
rmux417  multiply 12345  13        ->  1.6049E+5 Inexact Rounded
rmux418  multiply 12355  12        ->  1.4826E+5 Rounded
rmux419  multiply 12355  13        ->  1.6062E+5 Inexact Rounded

rounding: up
rmux501  multiply 12345  1         ->  12345
rmux502  multiply 12345  1.0001    ->  12347 Inexact Rounded
rmux503  multiply 12345  1.001     ->  12358 Inexact Rounded
rmux504  multiply 12345  1.01      ->  12469 Inexact Rounded
rmux505  multiply 12345  1.1       ->  13580 Inexact Rounded

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -