[libc-commits] [libc] [libc][math] Optimize nearest integer functions using builtins when available (PR #98376)
via libc-commits
libc-commits at lists.llvm.org
Fri Jul 12 08:23:31 PDT 2024
overmighty wrote:
Before:
<ul>
<li><details><summary>Intel Core i7-13700H, Clang 18</summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 54380558 ns
Average runtime : 1.91568 ns/op
Ops per second : 522007148 op/s
-- Other function --
Total time : 30651146 ns
Average runtime : 1.07976 ns/op
Ops per second : 926133071 op/s
-- Average runtime ratio --
Mine / Other's : 1.77418
Performance tests with inputs in low integral range:
-- My function --
Total time : 232863796 ns
Average runtime : 1.4323 ns/op
Ops per second : 698177745 op/s
-- Other function --
Total time : 180517337 ns
Average runtime : 1.11033 ns/op
Ops per second : 900635488 op/s
-- Average runtime ratio --
Mine / Other's : 1.28998
Performance tests with inputs in high integral range:
-- My function --
Total time : 160965271 ns
Average runtime : 1.17687 ns/op
Ops per second : 849710742 op/s
-- Other function --
Total time : 151612332 ns
Average runtime : 1.10849 ns/op
Ops per second : 902129254 op/s
-- Average runtime ratio --
Mine / Other's : 1.06169
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1354077370 ns
Average runtime : 2.01773 ns/op
Ops per second : 495605771 op/s
-- Other function --
Total time : 708413407 ns
Average runtime : 1.05562 ns/op
Ops per second : 947312054 op/s
-- Average runtime ratio --
Mine / Other's : 1.91142
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 451763579 ns
Average runtime : 1.34636 ns/op
Ops per second : 742743097 op/s
-- Other function --
Total time : 354186052 ns
Average runtime : 1.05556 ns/op
Ops per second : 947367289 op/s
-- Average runtime ratio --
Mine / Other's : 1.2755 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 49743280 ns
Average runtime : 1.75232 ns/op
Ops per second : 570670852 op/s
-- Other function --
Total time : 30639714 ns
Average runtime : 1.07936 ns/op
Ops per second : 926478621 op/s
-- Average runtime ratio --
Mine / Other's : 1.62349
Performance tests with inputs in low integral range:
-- My function --
Total time : 225059464 ns
Average runtime : 1.3843 ns/op
Ops per second : 722388284 op/s
-- Other function --
Total time : 181135627 ns
Average runtime : 1.11413 ns/op
Ops per second : 897561251 op/s
-- Average runtime ratio --
Mine / Other's : 1.24249
Performance tests with inputs in high integral range:
-- My function --
Total time : 191693898 ns
Average runtime : 1.40154 ns/op
Ops per second : 713501689 op/s
-- Other function --
Total time : 151680800 ns
Average runtime : 1.10899 ns/op
Ops per second : 901722037 op/s
-- Average runtime ratio --
Mine / Other's : 1.2638
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1171921912 ns
Average runtime : 1.7463 ns/op
Ops per second : 572639314 op/s
-- Other function --
Total time : 708389865 ns
Average runtime : 1.05558 ns/op
Ops per second : 947343536 op/s
-- Average runtime ratio --
Mine / Other's : 1.65435
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 442652018 ns
Average runtime : 1.31921 ns/op
Ops per second : 758031741 op/s
-- Other function --
Total time : 354185734 ns
Average runtime : 1.05556 ns/op
Ops per second : 947368139 op/s
-- Average runtime ratio --
Mine / Other's : 1.24977 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 62953913 ns
Average runtime : 2.2177 ns/op
Ops per second : 450917800 op/s
-- Other function --
Total time : 57208841 ns
Average runtime : 2.01532 ns/op
Ops per second : 496200228 op/s
-- Average runtime ratio --
Mine / Other's : 1.10042
Performance tests with inputs in low integral range:
-- My function --
Total time : 269415675 ns
Average runtime : 1.65712 ns/op
Ops per second : 603455311 op/s
-- Other function --
Total time : 265841301 ns
Average runtime : 1.63514 ns/op
Ops per second : 611569080 op/s
-- Average runtime ratio --
Mine / Other's : 1.01345
Performance tests with inputs in high integral range:
-- My function --
Total time : 232319911 ns
Average runtime : 1.69857 ns/op
Ops per second : 588730941 op/s
-- Other function --
Total time : 294621178 ns
Average runtime : 2.15407 ns/op
Ops per second : 464236552 op/s
-- Average runtime ratio --
Mine / Other's : 0.788538
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1673136361 ns
Average runtime : 2.49317 ns/op
Ops per second : 401096154 op/s
-- Other function --
Total time : 1086562743 ns
Average runtime : 1.6191 ns/op
Ops per second : 617625226 op/s
-- Average runtime ratio --
Mine / Other's : 1.53984
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 531661853 ns
Average runtime : 1.58448 ns/op
Ops per second : 631123482 op/s
-- Other function --
Total time : 531240098 ns
Average runtime : 1.58322 ns/op
Ops per second : 631624535 op/s
-- Average runtime ratio --
Mine / Other's : 1.00079 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 53594924 ns
Average runtime : 1.88801 ns/op
Ops per second : 529659114 op/s
-- Other function --
Total time : 30713809 ns
Average runtime : 1.08197 ns/op
Ops per second : 924243554 op/s
-- Average runtime ratio --
Mine / Other's : 1.74498
Performance tests with inputs in low integral range:
-- My function --
Total time : 271285336 ns
Average runtime : 1.66862 ns/op
Ops per second : 599296380 op/s
-- Other function --
Total time : 182976694 ns
Average runtime : 1.12545 ns/op
Ops per second : 888530208 op/s
-- Average runtime ratio --
Mine / Other's : 1.48262
Performance tests with inputs in high integral range:
-- My function --
Total time : 161055957 ns
Average runtime : 1.17753 ns/op
Ops per second : 849232295 op/s
-- Other function --
Total time : 156151573 ns
Average runtime : 1.14168 ns/op
Ops per second : 875904849 op/s
-- Average runtime ratio --
Mine / Other's : 1.03141
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1816388212 ns
Average runtime : 2.70663 ns/op
Ops per second : 369463177 op/s
-- Other function --
Total time : 711830875 ns
Average runtime : 1.06071 ns/op
Ops per second : 942764051 op/s
-- Average runtime ratio --
Mine / Other's : 2.55171
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 592081571 ns
Average runtime : 1.76454 ns/op
Ops per second : 566719682 op/s
-- Other function --
Total time : 356448200 ns
Average runtime : 1.0623 ns/op
Ops per second : 941354957 op/s
-- Average runtime ratio --
Mine / Other's : 1.66106 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 61718469 ns
Average runtime : 2.17418 ns/op
Ops per second : 459944008 op/s
-- Other function --
Total time : 30642370 ns
Average runtime : 1.07945 ns/op
Ops per second : 926398317 op/s
-- Average runtime ratio --
Mine / Other's : 2.01415
Performance tests with inputs in low integral range:
-- My function --
Total time : 224419192 ns
Average runtime : 1.38036 ns/op
Ops per second : 724449270 op/s
-- Other function --
Total time : 180445038 ns
Average runtime : 1.10988 ns/op
Ops per second : 900996346 op/s
-- Average runtime ratio --
Mine / Other's : 1.2437
Performance tests with inputs in high integral range:
-- My function --
Total time : 191663554 ns
Average runtime : 1.40132 ns/op
Ops per second : 713614649 op/s
-- Other function --
Total time : 151827804 ns
Average runtime : 1.11006 ns/op
Ops per second : 900848964 op/s
-- Average runtime ratio --
Mine / Other's : 1.26237
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1086594300 ns
Average runtime : 1.61915 ns/op
Ops per second : 617607289 op/s
-- Other function --
Total time : 708309104 ns
Average runtime : 1.05546 ns/op
Ops per second : 947451552 op/s
-- Average runtime ratio --
Mine / Other's : 1.53407
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 442788332 ns
Average runtime : 1.31961 ns/op
Ops per second : 757798378 op/s
-- Other function --
Total time : 354177189 ns
Average runtime : 1.05553 ns/op
Ops per second : 947390996 op/s
-- Average runtime ratio --
Mine / Other's : 1.25019 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 83350622 ns
Average runtime : 2.93623 ns/op
Ops per second : 340573823 op/s
-- Other function --
Total time : 30650499 ns
Average runtime : 1.07974 ns/op
Ops per second : 926152621 op/s
-- Average runtime ratio --
Mine / Other's : 2.71939
Performance tests with inputs in low integral range:
-- My function --
Total time : 438258277 ns
Average runtime : 2.69565 ns/op
Ops per second : 370969194 op/s
-- Other function --
Total time : 180989052 ns
Average runtime : 1.11323 ns/op
Ops per second : 898288146 op/s
-- Average runtime ratio --
Mine / Other's : 2.42147
Performance tests with inputs in high integral range:
-- My function --
Total time : 375165978 ns
Average runtime : 2.74297 ns/op
Ops per second : 364569092 op/s
-- Other function --
Total time : 151484373 ns
Average runtime : 1.10756 ns/op
Ops per second : 902891283 op/s
-- Average runtime ratio --
Mine / Other's : 2.4766
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1988542742 ns
Average runtime : 2.96316 ns/op
Ops per second : 337477563 op/s
-- Other function --
Total time : 708398323 ns
Average runtime : 1.0556 ns/op
Ops per second : 947332225 op/s
-- Average runtime ratio --
Mine / Other's : 2.8071
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 873873691 ns
Average runtime : 2.60435 ns/op
Ops per second : 383973431 op/s
-- Other function --
Total time : 354167514 ns
Average runtime : 1.05551 ns/op
Ops per second : 947416876 op/s
-- Average runtime ratio --
Mine / Other's : 2.46741 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 75587582 ns
Average runtime : 2.66274 ns/op
Ops per second : 375551634 op/s
-- Other function --
Total time : 30649584 ns
Average runtime : 1.0797 ns/op
Ops per second : 926180270 op/s
-- Average runtime ratio --
Mine / Other's : 2.46618
Performance tests with inputs in low integral range:
-- My function --
Total time : 314106501 ns
Average runtime : 1.932 ns/op
Ops per second : 517596163 op/s
-- Other function --
Total time : 180744664 ns
Average runtime : 1.11172 ns/op
Ops per second : 899502737 op/s
-- Average runtime ratio --
Mine / Other's : 1.73784
Performance tests with inputs in high integral range:
-- My function --
Total time : 299068721 ns
Average runtime : 2.18659 ns/op
Ops per second : 457332747 op/s
-- Other function --
Total time : 151658573 ns
Average runtime : 1.10882 ns/op
Ops per second : 901854193 op/s
-- Average runtime ratio --
Mine / Other's : 1.97198
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1772121725 ns
Average runtime : 2.64066 ns/op
Ops per second : 378692135 op/s
-- Other function --
Total time : 708316228 ns
Average runtime : 1.05547 ns/op
Ops per second : 947442023 op/s
-- Average runtime ratio --
Mine / Other's : 2.50187
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 622049455 ns
Average runtime : 1.85385 ns/op
Ops per second : 539417368 op/s
-- Other function --
Total time : 354173087 ns
Average runtime : 1.05551 ns/op
Ops per second : 947401969 op/s
-- Average runtime ratio --
Mine / Other's : 1.75634 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 74173574 ns
Average runtime : 2.61293 ns/op
Ops per second : 382710963 op/s
-- Other function --
Total time : 30640665 ns
Average runtime : 1.07938 ns/op
Ops per second : 926449866 op/s
-- Average runtime ratio --
Mine / Other's : 2.42075
Performance tests with inputs in low integral range:
-- My function --
Total time : 341728197 ns
Average runtime : 2.1019 ns/op
Ops per second : 475759160 op/s
-- Other function --
Total time : 180527185 ns
Average runtime : 1.11038 ns/op
Ops per second : 900586357 op/s
-- Average runtime ratio --
Mine / Other's : 1.89294
Performance tests with inputs in high integral range:
-- My function --
Total time : 322117657 ns
Average runtime : 2.35511 ns/op
Ops per second : 424608577 op/s
-- Other function --
Total time : 151605166 ns
Average runtime : 1.10843 ns/op
Ops per second : 902171895 op/s
-- Average runtime ratio --
Mine / Other's : 2.12471
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1707796467 ns
Average runtime : 2.54481 ns/op
Ops per second : 392955819 op/s
-- Other function --
Total time : 708390079 ns
Average runtime : 1.05558 ns/op
Ops per second : 947343250 op/s
-- Average runtime ratio --
Mine / Other's : 2.41081
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 672310823 ns
Average runtime : 2.00364 ns/op
Ops per second : 499090998 op/s
-- Other function --
Total time : 354242965 ns
Average runtime : 1.05572 ns/op
Ops per second : 947215084 op/s
-- Average runtime ratio --
Mine / Other's : 1.89788 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 85215761 ns
Average runtime : 3.00192 ns/op
Ops per second : 333119597 op/s
-- Other function --
Total time : 30649803 ns
Average runtime : 1.07971 ns/op
Ops per second : 926173652 op/s
-- Average runtime ratio --
Mine / Other's : 2.7803
Performance tests with inputs in low integral range:
-- My function --
Total time : 442318978 ns
Average runtime : 2.72062 ns/op
Ops per second : 367563518 op/s
-- Other function --
Total time : 180453880 ns
Average runtime : 1.10994 ns/op
Ops per second : 900952198 op/s
-- Average runtime ratio --
Mine / Other's : 2.45115
Performance tests with inputs in high integral range:
-- My function --
Total time : 365838381 ns
Average runtime : 2.67477 ns/op
Ops per second : 373864326 op/s
-- Other function --
Total time : 151853171 ns
Average runtime : 1.11025 ns/op
Ops per second : 900698478 op/s
-- Average runtime ratio --
Mine / Other's : 2.40916
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2567432299 ns
Average runtime : 3.82577 ns/op
Ops per second : 261385104 op/s
-- Other function --
Total time : 708421388 ns
Average runtime : 1.05563 ns/op
Ops per second : 947301382 op/s
-- Average runtime ratio --
Mine / Other's : 3.62416
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 922814393 ns
Average runtime : 2.7502 ns/op
Ops per second : 363609716 op/s
-- Other function --
Total time : 354148747 ns
Average runtime : 1.05545 ns/op
Ops per second : 947467082 op/s
-- Average runtime ratio --
Mine / Other's : 2.60573 </code></pre></details></li>
</li></ul></details>
<li><details><summary>Intel Core i7-13700H, Clang 18, <code>-march=native</code></summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 63262817 ns
Average runtime : 2.22858 ns/op
Ops per second : 448716028 op/s
-- Other function --
Total time : 30645269 ns
Average runtime : 1.07955 ns/op
Ops per second : 926310681 op/s
-- Average runtime ratio --
Mine / Other's : 2.06436
Performance tests with inputs in low integral range:
-- My function --
Total time : 267801708 ns
Average runtime : 1.6472 ns/op
Ops per second : 607092169 op/s
-- Other function --
Total time : 180555261 ns
Average runtime : 1.11056 ns/op
Ops per second : 900446318 op/s
-- Average runtime ratio --
Mine / Other's : 1.48321
Performance tests with inputs in high integral range:
-- My function --
Total time : 192336448 ns
Average runtime : 1.40624 ns/op
Ops per second : 711118050 op/s
-- Other function --
Total time : 151716522 ns
Average runtime : 1.10925 ns/op
Ops per second : 901509724 op/s
-- Average runtime ratio --
Mine / Other's : 1.26774
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1425042076 ns
Average runtime : 2.12348 ns/op
Ops per second : 470925435 op/s
-- Other function --
Total time : 708416472 ns
Average runtime : 1.05562 ns/op
Ops per second : 947307955 op/s
-- Average runtime ratio --
Mine / Other's : 2.01159
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 531331517 ns
Average runtime : 1.58349 ns/op
Ops per second : 631515860 op/s
-- Other function --
Total time : 354156848 ns
Average runtime : 1.05547 ns/op
Ops per second : 947445409 op/s
-- Average runtime ratio --
Mine / Other's : 1.50027 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 42226802 ns
Average runtime : 1.48754 ns/op
Ops per second : 672251713 op/s
-- Other function --
Total time : 30645612 ns
Average runtime : 1.07956 ns/op
Ops per second : 926300313 op/s
-- Average runtime ratio --
Mine / Other's : 1.37791
Performance tests with inputs in low integral range:
-- My function --
Total time : 266024885 ns
Average runtime : 1.63627 ns/op
Ops per second : 611147036 op/s
-- Other function --
Total time : 180433736 ns
Average runtime : 1.10981 ns/op
Ops per second : 901052783 op/s
-- Average runtime ratio --
Mine / Other's : 1.47436
Performance tests with inputs in high integral range:
-- My function --
Total time : 231392543 ns
Average runtime : 1.69179 ns/op
Ops per second : 591090439 op/s
-- Other function --
Total time : 151446637 ns
Average runtime : 1.10728 ns/op
Ops per second : 903116257 op/s
-- Average runtime ratio --
Mine / Other's : 1.52788
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 994013364 ns
Average runtime : 1.4812 ns/op
Ops per second : 675130319 op/s
-- Other function --
Total time : 708410537 ns
Average runtime : 1.05561 ns/op
Ops per second : 947315892 op/s
-- Average runtime ratio --
Mine / Other's : 1.40316
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 533589778 ns
Average runtime : 1.59022 ns/op
Ops per second : 628843155 op/s
-- Other function --
Total time : 354133534 ns
Average runtime : 1.0554 ns/op
Ops per second : 947507783 op/s
-- Average runtime ratio --
Mine / Other's : 1.50675 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 83589115 ns
Average runtime : 2.94462 ns/op
Ops per second : 339602112 op/s
-- Other function --
Total time : 60742569 ns
Average runtime : 2.1398 ns/op
Ops per second : 467333543 op/s
-- Average runtime ratio --
Mine / Other's : 1.37612
Performance tests with inputs in low integral range:
-- My function --
Total time : 269101210 ns
Average runtime : 1.65519 ns/op
Ops per second : 604160494 op/s
-- Other function --
Total time : 265843445 ns
Average runtime : 1.63515 ns/op
Ops per second : 611564148 op/s
-- Average runtime ratio --
Mine / Other's : 1.01225
Performance tests with inputs in high integral range:
-- My function --
Total time : 228327835 ns
Average runtime : 1.66938 ns/op
Ops per second : 599024293 op/s
-- Other function --
Total time : 289341861 ns
Average runtime : 2.11548 ns/op
Ops per second : 472706989 op/s
-- Average runtime ratio --
Mine / Other's : 0.789128
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1530815199 ns
Average runtime : 2.28109 ns/op
Ops per second : 438386397 op/s
-- Other function --
Total time : 1086567616 ns
Average runtime : 1.61911 ns/op
Ops per second : 617622456 op/s
-- Average runtime ratio --
Mine / Other's : 1.40885
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 532599710 ns
Average runtime : 1.58727 ns/op
Ops per second : 630012134 op/s
-- Other function --
Total time : 531272128 ns
Average runtime : 1.58331 ns/op
Ops per second : 631586455 op/s
-- Average runtime ratio --
Mine / Other's : 1.0025 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 56944923 ns
Average runtime : 2.00602 ns/op
Ops per second : 498499927 op/s
-- Other function --
Total time : 30779166 ns
Average runtime : 1.08427 ns/op
Ops per second : 922281000 op/s
-- Average runtime ratio --
Mine / Other's : 1.85011
Performance tests with inputs in low integral range:
-- My function --
Total time : 285386529 ns
Average runtime : 1.75536 ns/op
Ops per second : 569684632 op/s
-- Other function --
Total time : 183119471 ns
Average runtime : 1.12633 ns/op
Ops per second : 887837427 op/s
-- Average runtime ratio --
Mine / Other's : 1.55847
Performance tests with inputs in high integral range:
-- My function --
Total time : 160703734 ns
Average runtime : 1.17496 ns/op
Ops per second : 851093603 op/s
-- Other function --
Total time : 156145269 ns
Average runtime : 1.14163 ns/op
Ops per second : 875940211 op/s
-- Average runtime ratio --
Mine / Other's : 1.02919
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1462932742 ns
Average runtime : 2.17994 ns/op
Ops per second : 458728238 op/s
-- Other function --
Total time : 712383391 ns
Average runtime : 1.06153 ns/op
Ops per second : 942032855 op/s
-- Average runtime ratio --
Mine / Other's : 2.05358
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 575319457 ns
Average runtime : 1.71459 ns/op
Ops per second : 583231239 op/s
-- Other function --
Total time : 356032816 ns
Average runtime : 1.06106 ns/op
Ops per second : 942453237 op/s
-- Average runtime ratio --
Mine / Other's : 1.61592 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 57979666 ns
Average runtime : 2.04247 ns/op
Ops per second : 489603372 op/s
-- Other function --
Total time : 30645370 ns
Average runtime : 1.07955 ns/op
Ops per second : 926307628 op/s
-- Average runtime ratio --
Mine / Other's : 1.89196
Performance tests with inputs in low integral range:
-- My function --
Total time : 224498468 ns
Average runtime : 1.38085 ns/op
Ops per second : 724193449 op/s
-- Other function --
Total time : 180628715 ns
Average runtime : 1.11101 ns/op
Ops per second : 900080145 op/s
-- Average runtime ratio --
Mine / Other's : 1.24287
Performance tests with inputs in high integral range:
-- My function --
Total time : 193058920 ns
Average runtime : 1.41152 ns/op
Ops per second : 708456879 op/s
-- Other function --
Total time : 151424985 ns
Average runtime : 1.10712 ns/op
Ops per second : 903245392 op/s
-- Average runtime ratio --
Mine / Other's : 1.27495
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1063091961 ns
Average runtime : 1.58413 ns/op
Ops per second : 631261061 op/s
-- Other function --
Total time : 708340136 ns
Average runtime : 1.05551 ns/op
Ops per second : 947410044 op/s
-- Average runtime ratio --
Mine / Other's : 1.50082
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 442707247 ns
Average runtime : 1.31937 ns/op
Ops per second : 757937174 op/s
-- Other function --
Total time : 354140232 ns
Average runtime : 1.05542 ns/op
Ops per second : 947489863 op/s
-- Average runtime ratio --
Mine / Other's : 1.25009 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 101165816 ns
Average runtime : 3.56381 ns/op
Ops per second : 280599130 op/s
-- Other function --
Total time : 30643276 ns
Average runtime : 1.07949 ns/op
Ops per second : 926370927 op/s
-- Average runtime ratio --
Mine / Other's : 3.30141
Performance tests with inputs in low integral range:
-- My function --
Total time : 510401911 ns
Average runtime : 3.13939 ns/op
Ops per second : 318533917 op/s
-- Other function --
Total time : 180482810 ns
Average runtime : 1.11012 ns/op
Ops per second : 900807783 op/s
-- Average runtime ratio --
Mine / Other's : 2.82799
Performance tests with inputs in high integral range:
-- My function --
Total time : 358147595 ns
Average runtime : 2.61854 ns/op
Ops per second : 381892610 op/s
-- Other function --
Total time : 151487330 ns
Average runtime : 1.10758 ns/op
Ops per second : 902873659 op/s
-- Average runtime ratio --
Mine / Other's : 2.36421
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2397383005 ns
Average runtime : 3.57238 ns/op
Ops per second : 279925468 op/s
-- Other function --
Total time : 708405031 ns
Average runtime : 1.05561 ns/op
Ops per second : 947323255 op/s
-- Average runtime ratio --
Mine / Other's : 3.3842
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 1048317045 ns
Average runtime : 3.12423 ns/op
Ops per second : 320079008 op/s
-- Other function --
Total time : 354410452 ns
Average runtime : 1.05623 ns/op
Ops per second : 946767450 op/s
-- Average runtime ratio --
Mine / Other's : 2.95792 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 90583775 ns
Average runtime : 3.19102 ns/op
Ops per second : 313378858 op/s
-- Other function --
Total time : 30640108 ns
Average runtime : 1.07936 ns/op
Ops per second : 926466708 op/s
-- Average runtime ratio --
Mine / Other's : 2.95637
Performance tests with inputs in low integral range:
-- My function --
Total time : 313137964 ns
Average runtime : 1.92605 ns/op
Ops per second : 519197091 op/s
-- Other function --
Total time : 180523464 ns
Average runtime : 1.11036 ns/op
Ops per second : 900604920 op/s
-- Average runtime ratio --
Mine / Other's : 1.73461
Performance tests with inputs in high integral range:
-- My function --
Total time : 312297008 ns
Average runtime : 2.2833 ns/op
Ops per second : 437961032 op/s
-- Other function --
Total time : 151865141 ns
Average runtime : 1.11033 ns/op
Ops per second : 900627485 op/s
-- Average runtime ratio --
Mine / Other's : 2.05641
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2114698045 ns
Average runtime : 3.15114 ns/op
Ops per second : 317344862 op/s
-- Other function --
Total time : 708431250 ns
Average runtime : 1.05564 ns/op
Ops per second : 947288194 op/s
-- Average runtime ratio --
Mine / Other's : 2.98504
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 619931387 ns
Average runtime : 1.84753 ns/op
Ops per second : 541260350 op/s
-- Other function --
Total time : 354145621 ns
Average runtime : 1.05543 ns/op
Ops per second : 947475445 op/s
-- Average runtime ratio --
Mine / Other's : 1.75049 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 69305586 ns
Average runtime : 2.44145 ns/op
Ops per second : 409592381 op/s
-- Other function --
Total time : 30649866 ns
Average runtime : 1.07971 ns/op
Ops per second : 926171749 op/s
-- Average runtime ratio --
Mine / Other's : 2.2612
Performance tests with inputs in low integral range:
-- My function --
Total time : 369923376 ns
Average runtime : 2.27532 ns/op
Ops per second : 439497286 op/s
-- Other function --
Total time : 180460018 ns
Average runtime : 1.10997 ns/op
Ops per second : 900921554 op/s
-- Average runtime ratio --
Mine / Other's : 2.04989
Performance tests with inputs in high integral range:
-- My function --
Total time : 330840856 ns
Average runtime : 2.41888 ns/op
Ops per second : 413413027 op/s
-- Other function --
Total time : 151422991 ns
Average runtime : 1.1071 ns/op
Ops per second : 903257286 op/s
-- Average runtime ratio --
Mine / Other's : 2.18487
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1605014013 ns
Average runtime : 2.39165 ns/op
Ops per second : 418120062 op/s
-- Other function --
Total time : 708398826 ns
Average runtime : 1.05559 ns/op
Ops per second : 947331553 op/s
-- Average runtime ratio --
Mine / Other's : 2.26569
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 711767572 ns
Average runtime : 2.12123 ns/op
Ops per second : 471423949 op/s
-- Other function --
Total time : 354194211 ns
Average runtime : 1.05558 ns/op
Ops per second : 947345466 op/s
-- Average runtime ratio --
Mine / Other's : 2.00954 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 76627266 ns
Average runtime : 2.69937 ns/op
Ops per second : 370456124 op/s
-- Other function --
Total time : 30649535 ns
Average runtime : 1.0797 ns/op
Ops per second : 926181751 op/s
-- Average runtime ratio --
Mine / Other's : 2.50011
Performance tests with inputs in low integral range:
-- My function --
Total time : 440483940 ns
Average runtime : 2.70933 ns/op
Ops per second : 369094773 op/s
-- Other function --
Total time : 180418242 ns
Average runtime : 1.10972 ns/op
Ops per second : 901130163 op/s
-- Average runtime ratio --
Mine / Other's : 2.44146
Performance tests with inputs in high integral range:
-- My function --
Total time : 340824740 ns
Average runtime : 2.49188 ns/op
Ops per second : 401302792 op/s
-- Other function --
Total time : 151503897 ns
Average runtime : 1.1077 ns/op
Ops per second : 902774929 op/s
-- Average runtime ratio --
Mine / Other's : 2.24961
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2197011737 ns
Average runtime : 3.2738 ns/op
Ops per second : 305455154 op/s
-- Other function --
Total time : 708318041 ns
Average runtime : 1.05548 ns/op
Ops per second : 947439597 op/s
-- Average runtime ratio --
Mine / Other's : 3.10173
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 905622016 ns
Average runtime : 2.69896 ns/op
Ops per second : 370512503 op/s
-- Other function --
Total time : 354169725 ns
Average runtime : 1.05551 ns/op
Ops per second : 947410962 op/s
-- Average runtime ratio --
Mine / Other's : 2.55703 </code></pre></details></li>
</li></ul></details>
<li><details><summary>Intel Core i7-13700H, GCC 14</summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 70467108 ns
Average runtime : 2.48237 ns/op
Ops per second : 402840996 op/s
-- Other function --
Total time : 30678911 ns
Average runtime : 1.08074 ns/op
Ops per second : 925294903 op/s
-- Average runtime ratio --
Mine / Other's : 2.29692
Performance tests with inputs in low integral range:
-- My function --
Total time : 265761039 ns
Average runtime : 1.63464 ns/op
Ops per second : 611753779 op/s
-- Other function --
Total time : 183812765 ns
Average runtime : 1.1306 ns/op
Ops per second : 884488735 op/s
-- Average runtime ratio --
Mine / Other's : 1.44582
Performance tests with inputs in high integral range:
-- My function --
Total time : 244051055 ns
Average runtime : 1.78434 ns/op
Ops per second : 560431586 op/s
-- Other function --
Total time : 189120471 ns
Average runtime : 1.38272 ns/op
Ops per second : 723210550 op/s
-- Average runtime ratio --
Mine / Other's : 1.29045
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1352232986 ns
Average runtime : 2.01498 ns/op
Ops per second : 496281755 op/s
-- Other function --
Total time : 711572122 ns
Average runtime : 1.06033 ns/op
Ops per second : 943106874 op/s
-- Average runtime ratio --
Mine / Other's : 1.90035
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 505209958 ns
Average runtime : 1.50564 ns/op
Ops per second : 664167985 op/s
-- Other function --
Total time : 355926182 ns
Average runtime : 1.06074 ns/op
Ops per second : 942735592 op/s
-- Average runtime ratio --
Mine / Other's : 1.41942 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 50006627 ns
Average runtime : 1.7616 ns/op
Ops per second : 567665561 op/s
-- Other function --
Total time : 30735020 ns
Average runtime : 1.08271 ns/op
Ops per second : 923605711 op/s
-- Average runtime ratio --
Mine / Other's : 1.62702
Performance tests with inputs in low integral range:
-- My function --
Total time : 224742398 ns
Average runtime : 1.38235 ns/op
Ops per second : 723407427 op/s
-- Other function --
Total time : 183370914 ns
Average runtime : 1.12788 ns/op
Ops per second : 886620001 op/s
-- Average runtime ratio --
Mine / Other's : 1.22562
Performance tests with inputs in high integral range:
-- My function --
Total time : 226012369 ns
Average runtime : 1.65245 ns/op
Ops per second : 605161215 op/s
-- Other function --
Total time : 189197656 ns
Average runtime : 1.38329 ns/op
Ops per second : 722915510 op/s
-- Average runtime ratio --
Mine / Other's : 1.19458
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1177987921 ns
Average runtime : 1.75534 ns/op
Ops per second : 569690527 op/s
-- Other function --
Total time : 712431185 ns
Average runtime : 1.06161 ns/op
Ops per second : 941969658 op/s
-- Average runtime ratio --
Mine / Other's : 1.65348
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 442743370 ns
Average runtime : 1.31948 ns/op
Ops per second : 757875335 op/s
-- Other function --
Total time : 355715063 ns
Average runtime : 1.06011 ns/op
Ops per second : 943295111 op/s
-- Average runtime ratio --
Mine / Other's : 1.24466 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 77741722 ns
Average runtime : 2.73863 ns/op
Ops per second : 365145500 op/s
-- Other function --
Total time : 57241049 ns
Average runtime : 2.01645 ns/op
Ops per second : 495921030 op/s
-- Average runtime ratio --
Mine / Other's : 1.35815
Performance tests with inputs in low integral range:
-- My function --
Total time : 269814147 ns
Average runtime : 1.65957 ns/op
Ops per second : 602564104 op/s
-- Other function --
Total time : 265550006 ns
Average runtime : 1.63335 ns/op
Ops per second : 612239940 op/s
-- Average runtime ratio --
Mine / Other's : 1.01606
Performance tests with inputs in high integral range:
-- My function --
Total time : 261538639 ns
Average runtime : 1.9122 ns/op
Ops per second : 522958751 op/s
-- Other function --
Total time : 312707097 ns
Average runtime : 2.28631 ns/op
Ops per second : 437386683 op/s
-- Average runtime ratio --
Mine / Other's : 0.836369
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1674455471 ns
Average runtime : 2.49513 ns/op
Ops per second : 400780176 op/s
-- Other function --
Total time : 1084256881 ns
Average runtime : 1.61567 ns/op
Ops per second : 618938714 op/s
-- Average runtime ratio --
Mine / Other's : 1.54433
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 526791177 ns
Average runtime : 1.56996 ns/op
Ops per second : 636958807 op/s
-- Other function --
Total time : 531233240 ns
Average runtime : 1.5832 ns/op
Ops per second : 631632689 op/s
-- Average runtime ratio --
Mine / Other's : 0.991638 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 67132422 ns
Average runtime : 2.3649 ns/op
Ops per second : 422851420 op/s
-- Other function --
Total time : 30744374 ns
Average runtime : 1.08304 ns/op
Ops per second : 923324703 op/s
-- Average runtime ratio --
Mine / Other's : 2.18357
Performance tests with inputs in low integral range:
-- My function --
Total time : 353345713 ns
Average runtime : 2.17336 ns/op
Ops per second : 460116860 op/s
-- Other function --
Total time : 184094889 ns
Average runtime : 1.13233 ns/op
Ops per second : 883133262 op/s
-- Average runtime ratio --
Mine / Other's : 1.91937
Performance tests with inputs in high integral range:
-- My function --
Total time : 259679435 ns
Average runtime : 1.8986 ns/op
Ops per second : 526702932 op/s
-- Other function --
Total time : 192208180 ns
Average runtime : 1.4053 ns/op
Ops per second : 711592607 op/s
-- Average runtime ratio --
Mine / Other's : 1.35103
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1808228406 ns
Average runtime : 2.69447 ns/op
Ops per second : 371130415 op/s
-- Other function --
Total time : 709570329 ns
Average runtime : 1.05734 ns/op
Ops per second : 945767505 op/s
-- Average runtime ratio --
Mine / Other's : 2.54834
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 703802217 ns
Average runtime : 2.09749 ns/op
Ops per second : 476759339 op/s
-- Other function --
Total time : 355926693 ns
Average runtime : 1.06074 ns/op
Ops per second : 942734238 op/s
-- Average runtime ratio --
Mine / Other's : 1.97738 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 46534620 ns
Average runtime : 1.63929 ns/op
Ops per second : 610019808 op/s
-- Other function --
Total time : 30722970 ns
Average runtime : 1.08229 ns/op
Ops per second : 923967962 op/s
-- Average runtime ratio --
Mine / Other's : 1.51465
Performance tests with inputs in low integral range:
-- My function --
Total time : 267068956 ns
Average runtime : 1.64269 ns/op
Ops per second : 608757837 op/s
-- Other function --
Total time : 183808928 ns
Average runtime : 1.13057 ns/op
Ops per second : 884507198 op/s
-- Average runtime ratio --
Mine / Other's : 1.45297
Performance tests with inputs in high integral range:
-- My function --
Total time : 227184388 ns
Average runtime : 1.66102 ns/op
Ops per second : 602039256 op/s
-- Other function --
Total time : 189166822 ns
Average runtime : 1.38306 ns/op
Ops per second : 723033344 op/s
-- Average runtime ratio --
Mine / Other's : 1.20097
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1096570886 ns
Average runtime : 1.63402 ns/op
Ops per second : 611988306 op/s
-- Other function --
Total time : 712724480 ns
Average runtime : 1.06204 ns/op
Ops per second : 941582026 op/s
-- Average runtime ratio --
Mine / Other's : 1.53856
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 539607825 ns
Average runtime : 1.60816 ns/op
Ops per second : 621829900 op/s
-- Other function --
Total time : 355997526 ns
Average runtime : 1.06096 ns/op
Ops per second : 942546662 op/s
-- Average runtime ratio --
Mine / Other's : 1.51576 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 91779077 ns
Average runtime : 3.23314 ns/op
Ops per second : 309297510 op/s
-- Other function --
Total time : 30722970 ns
Average runtime : 1.08229 ns/op
Ops per second : 923967962 op/s
-- Average runtime ratio --
Mine / Other's : 2.98732
Performance tests with inputs in low integral range:
-- My function --
Total time : 442134887 ns
Average runtime : 2.71949 ns/op
Ops per second : 367716560 op/s
-- Other function --
Total time : 183287707 ns
Average runtime : 1.12737 ns/op
Ops per second : 887022499 op/s
-- Average runtime ratio --
Mine / Other's : 2.41225
Performance tests with inputs in high integral range:
-- My function --
Total time : 347871875 ns
Average runtime : 2.54341 ns/op
Ops per second : 393173262 op/s
-- Other function --
Total time : 191155423 ns
Average runtime : 1.39761 ns/op
Ops per second : 715511586 op/s
-- Average runtime ratio --
Mine / Other's : 1.81984
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2168895899 ns
Average runtime : 3.23191 ns/op
Ops per second : 309414831 op/s
-- Other function --
Total time : 712692697 ns
Average runtime : 1.062 ns/op
Ops per second : 941624016 op/s
-- Average runtime ratio --
Mine / Other's : 3.04325
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 884997028 ns
Average runtime : 2.6375 ns/op
Ops per second : 379147352 op/s
-- Other function --
Total time : 356048742 ns
Average runtime : 1.06111 ns/op
Ops per second : 942411081 op/s
-- Average runtime ratio --
Mine / Other's : 2.48561 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 68913765 ns
Average runtime : 2.42764 ns/op
Ops per second : 411921188 op/s
-- Other function --
Total time : 30736173 ns
Average runtime : 1.08275 ns/op
Ops per second : 923571063 op/s
-- Average runtime ratio --
Mine / Other's : 2.2421
Performance tests with inputs in low integral range:
-- My function --
Total time : 357135334 ns
Average runtime : 2.19667 ns/op
Ops per second : 455234485 op/s
-- Other function --
Total time : 183578127 ns
Average runtime : 1.12915 ns/op
Ops per second : 885619232 op/s
-- Average runtime ratio --
Mine / Other's : 1.94541
Performance tests with inputs in high integral range:
-- My function --
Total time : 334380177 ns
Average runtime : 2.44476 ns/op
Ops per second : 409037166 op/s
-- Other function --
Total time : 191728279 ns
Average runtime : 1.40178 ns/op
Ops per second : 713373742 op/s
-- Average runtime ratio --
Mine / Other's : 1.74403
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1610745881 ns
Average runtime : 2.40019 ns/op
Ops per second : 416632175 op/s
-- Other function --
Total time : 712690541 ns
Average runtime : 1.06199 ns/op
Ops per second : 941626865 op/s
-- Average runtime ratio --
Mine / Other's : 2.26009
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 708720181 ns
Average runtime : 2.11215 ns/op
Ops per second : 473451002 op/s
-- Other function --
Total time : 356047141 ns
Average runtime : 1.0611 ns/op
Ops per second : 942415319 op/s
-- Average runtime ratio --
Mine / Other's : 1.99052 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 88079033 ns
Average runtime : 3.10279 ns/op
Ops per second : 322290550 op/s
-- Other function --
Total time : 30735985 ns
Average runtime : 1.08274 ns/op
Ops per second : 923576713 op/s
-- Average runtime ratio --
Mine / Other's : 2.86566
Performance tests with inputs in low integral range:
-- My function --
Total time : 470108835 ns
Average runtime : 2.89154 ns/op
Ops per second : 345835491 op/s
-- Other function --
Total time : 183451495 ns
Average runtime : 1.12837 ns/op
Ops per second : 886230553 op/s
-- Average runtime ratio --
Mine / Other's : 2.56257
Performance tests with inputs in high integral range:
-- My function --
Total time : 338653242 ns
Average runtime : 2.476 ns/op
Ops per second : 403876009 op/s
-- Other function --
Total time : 190595408 ns
Average runtime : 1.3935 ns/op
Ops per second : 717613931 op/s
-- Average runtime ratio --
Mine / Other's : 1.77681
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2252286683 ns
Average runtime : 3.35616 ns/op
Ops per second : 297958765 op/s
-- Other function --
Total time : 711813784 ns
Average runtime : 1.06068 ns/op
Ops per second : 942786688 op/s
-- Average runtime ratio --
Mine / Other's : 3.16415
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 958851346 ns
Average runtime : 2.8576 ns/op
Ops per second : 349944004 op/s
-- Other function --
Total time : 356003334 ns
Average runtime : 1.06097 ns/op
Ops per second : 942531285 op/s
-- Average runtime ratio --
Mine / Other's : 2.69337 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 104227809 ns
Average runtime : 3.67167 ns/op
Ops per second : 272355720 op/s
-- Other function --
Total time : 30650888 ns
Average runtime : 1.07975 ns/op
Ops per second : 926140867 op/s
-- Average runtime ratio --
Mine / Other's : 3.40048
Performance tests with inputs in low integral range:
-- My function --
Total time : 454304754 ns
Average runtime : 2.79434 ns/op
Ops per second : 357866208 op/s
-- Other function --
Total time : 183427625 ns
Average runtime : 1.12823 ns/op
Ops per second : 886345881 op/s
-- Average runtime ratio --
Mine / Other's : 2.47675
Performance tests with inputs in high integral range:
-- My function --
Total time : 330584205 ns
Average runtime : 2.41701 ns/op
Ops per second : 413733983 op/s
-- Other function --
Total time : 189253532 ns
Average runtime : 1.3837 ns/op
Ops per second : 722702073 op/s
-- Average runtime ratio --
Mine / Other's : 1.74678
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2632943138 ns
Average runtime : 3.92339 ns/op
Ops per second : 254881524 op/s
-- Other function --
Total time : 711853096 ns
Average runtime : 1.06074 ns/op
Ops per second : 942734622 op/s
-- Average runtime ratio --
Mine / Other's : 3.69872
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 901931727 ns
Average runtime : 2.68797 ns/op
Ops per second : 372028469 op/s
-- Other function --
Total time : 355994708 ns
Average runtime : 1.06095 ns/op
Ops per second : 942554123 op/s
-- Average runtime ratio --
Mine / Other's : 2.53355 </code></pre></details></li>
</li></ul></details>
<li><details><summary>Intel Core i7-13700H, GCC 14, <code>-march=native</code></summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 62564438 ns
Average runtime : 2.20398 ns/op
Ops per second : 453724846 op/s
-- Other function --
Total time : 31011364 ns
Average runtime : 1.09245 ns/op
Ops per second : 915375408 op/s
-- Average runtime ratio --
Mine / Other's : 2.01747
Performance tests with inputs in low integral range:
-- My function --
Total time : 270107261 ns
Average runtime : 1.66138 ns/op
Ops per second : 601910216 op/s
-- Other function --
Total time : 222387055 ns
Average runtime : 1.36786 ns/op
Ops per second : 731069171 op/s
-- Average runtime ratio --
Mine / Other's : 1.21458
Performance tests with inputs in high integral range:
-- My function --
Total time : 234431658 ns
Average runtime : 1.71401 ns/op
Ops per second : 583427687 op/s
-- Other function --
Total time : 156304845 ns
Average runtime : 1.1428 ns/op
Ops per second : 875045939 op/s
-- Average runtime ratio --
Mine / Other's : 1.49984
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1169345976 ns
Average runtime : 1.74246 ns/op
Ops per second : 573900773 op/s
-- Other function --
Total time : 888257954 ns
Average runtime : 1.32361 ns/op
Ops per second : 755510892 op/s
-- Average runtime ratio --
Mine / Other's : 1.31645
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 600481432 ns
Average runtime : 1.78957 ns/op
Ops per second : 558792099 op/s
-- Other function --
Total time : 354152390 ns
Average runtime : 1.05546 ns/op
Ops per second : 947457336 op/s
-- Average runtime ratio --
Mine / Other's : 1.69555 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 45633360 ns
Average runtime : 1.60754 ns/op
Ops per second : 622067715 op/s
-- Other function --
Total time : 31041114 ns
Average runtime : 1.0935 ns/op
Ops per second : 914498107 op/s
-- Average runtime ratio --
Mine / Other's : 1.47009
Performance tests with inputs in low integral range:
-- My function --
Total time : 267176910 ns
Average runtime : 1.64335 ns/op
Ops per second : 608511865 op/s
-- Other function --
Total time : 222157308 ns
Average runtime : 1.36645 ns/op
Ops per second : 731825216 op/s
-- Average runtime ratio --
Mine / Other's : 1.20265
Performance tests with inputs in high integral range:
-- My function --
Total time : 191538049 ns
Average runtime : 1.4004 ns/op
Ops per second : 714082244 op/s
-- Other function --
Total time : 156246523 ns
Average runtime : 1.14237 ns/op
Ops per second : 875372567 op/s
-- Average runtime ratio --
Mine / Other's : 1.22587
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1008095299 ns
Average runtime : 1.50218 ns/op
Ops per second : 665699523 op/s
-- Other function --
Total time : 885741761 ns
Average runtime : 1.31986 ns/op
Ops per second : 757657129 op/s
-- Average runtime ratio --
Mine / Other's : 1.13814
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 540476398 ns
Average runtime : 1.61075 ns/op
Ops per second : 620830588 op/s
-- Other function --
Total time : 354770005 ns
Average runtime : 1.0573 ns/op
Ops per second : 945807918 op/s
-- Average runtime ratio --
Mine / Other's : 1.52346 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 70227438 ns
Average runtime : 2.47393 ns/op
Ops per second : 404215799 op/s
-- Other function --
Total time : 57876820 ns
Average runtime : 2.03885 ns/op
Ops per second : 490473388 op/s
-- Average runtime ratio --
Mine / Other's : 1.21339
Performance tests with inputs in low integral range:
-- My function --
Total time : 269847279 ns
Average runtime : 1.65978 ns/op
Ops per second : 602490121 op/s
-- Other function --
Total time : 308305280 ns
Average runtime : 1.89633 ns/op
Ops per second : 527335503 op/s
-- Average runtime ratio --
Mine / Other's : 0.87526
Performance tests with inputs in high integral range:
-- My function --
Total time : 191082457 ns
Average runtime : 1.39707 ns/op
Ops per second : 715784809 op/s
-- Other function --
Total time : 272355936 ns
Average runtime : 1.99129 ns/op
Ops per second : 502188136 op/s
-- Average runtime ratio --
Mine / Other's : 0.701591
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1406240323 ns
Average runtime : 2.09546 ns/op
Ops per second : 477221815 op/s
-- Other function --
Total time : 1081796812 ns
Average runtime : 1.612 ns/op
Ops per second : 620346217 op/s
-- Average runtime ratio --
Mine / Other's : 1.29991
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 563984870 ns
Average runtime : 1.68081 ns/op
Ops per second : 594952627 op/s
-- Other function --
Total time : 531225515 ns
Average runtime : 1.58318 ns/op
Ops per second : 631641874 op/s
-- Average runtime ratio --
Mine / Other's : 1.06167 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 65052902 ns
Average runtime : 2.29164 ns/op
Ops per second : 436368542 op/s
-- Other function --
Total time : 31168134 ns
Average runtime : 1.09797 ns/op
Ops per second : 910771238 op/s
-- Average runtime ratio --
Mine / Other's : 2.08716
Performance tests with inputs in low integral range:
-- My function --
Total time : 393038482 ns
Average runtime : 2.4175 ns/op
Ops per second : 413649877 op/s
-- Other function --
Total time : 226288794 ns
Average runtime : 1.39186 ns/op
Ops per second : 718463858 op/s
-- Average runtime ratio --
Mine / Other's : 1.73689
Performance tests with inputs in high integral range:
-- My function --
Total time : 193658298 ns
Average runtime : 1.4159 ns/op
Ops per second : 706264184 op/s
-- Other function --
Total time : 156920283 ns
Average runtime : 1.1473 ns/op
Ops per second : 871614028 op/s
-- Average runtime ratio --
Mine / Other's : 1.23412
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1358497296 ns
Average runtime : 2.02432 ns/op
Ops per second : 493993298 op/s
-- Other function --
Total time : 885738113 ns
Average runtime : 1.31985 ns/op
Ops per second : 757660249 op/s
-- Average runtime ratio --
Mine / Other's : 1.53375
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 755833361 ns
Average runtime : 2.25256 ns/op
Ops per second : 443939494 op/s
-- Other function --
Total time : 356594451 ns
Average runtime : 1.06273 ns/op
Ops per second : 940968876 op/s
-- Average runtime ratio --
Mine / Other's : 2.11959 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 45624760 ns
Average runtime : 1.60724 ns/op
Ops per second : 622184971 op/s
-- Other function --
Total time : 31002059 ns
Average runtime : 1.09212 ns/op
Ops per second : 915650150 op/s
-- Average runtime ratio --
Mine / Other's : 1.47167
Performance tests with inputs in low integral range:
-- My function --
Total time : 266186707 ns
Average runtime : 1.63726 ns/op
Ops per second : 610775503 op/s
-- Other function --
Total time : 222388991 ns
Average runtime : 1.36787 ns/op
Ops per second : 731062806 op/s
-- Average runtime ratio --
Mine / Other's : 1.19694
Performance tests with inputs in high integral range:
-- My function --
Total time : 193424252 ns
Average runtime : 1.41419 ns/op
Ops per second : 707118774 op/s
-- Other function --
Total time : 156453448 ns
Average runtime : 1.14388 ns/op
Ops per second : 874214801 op/s
-- Average runtime ratio --
Mine / Other's : 1.23631
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 923100319 ns
Average runtime : 1.37553 ns/op
Ops per second : 726994180 op/s
-- Other function --
Total time : 886193584 ns
Average runtime : 1.32053 ns/op
Ops per second : 757270840 op/s
-- Average runtime ratio --
Mine / Other's : 1.04165
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 539152388 ns
Average runtime : 1.6068 ns/op
Ops per second : 622355177 op/s
-- Other function --
Total time : 354146342 ns
Average runtime : 1.05544 ns/op
Ops per second : 947473516 op/s
-- Average runtime ratio --
Mine / Other's : 1.5224 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 84113940 ns
Average runtime : 2.96312 ns/op
Ops per second : 337483180 op/s
-- Other function --
Total time : 30980486 ns
Average runtime : 1.09137 ns/op
Ops per second : 916287756 op/s
-- Average runtime ratio --
Mine / Other's : 2.71507
Performance tests with inputs in low integral range:
-- My function --
Total time : 448408348 ns
Average runtime : 2.75808 ns/op
Ops per second : 362572018 op/s
-- Other function --
Total time : 222235934 ns
Average runtime : 1.36694 ns/op
Ops per second : 731566300 op/s
-- Average runtime ratio --
Mine / Other's : 2.01772
Performance tests with inputs in high integral range:
-- My function --
Total time : 345044177 ns
Average runtime : 2.52274 ns/op
Ops per second : 396395386 op/s
-- Other function --
Total time : 156026991 ns
Average runtime : 1.14077 ns/op
Ops per second : 876604228 op/s
-- Average runtime ratio --
Mine / Other's : 2.21144
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1975397886 ns
Average runtime : 2.94358 ns/op
Ops per second : 339723234 op/s
-- Other function --
Total time : 885982161 ns
Average runtime : 1.32022 ns/op
Ops per second : 757451548 op/s
-- Average runtime ratio --
Mine / Other's : 2.22962
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 917419824 ns
Average runtime : 2.73413 ns/op
Ops per second : 365747797 op/s
-- Other function --
Total time : 354134663 ns
Average runtime : 1.05541 ns/op
Ops per second : 947504763 op/s
-- Average runtime ratio --
Mine / Other's : 2.5906 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 75610526 ns
Average runtime : 2.66355 ns/op
Ops per second : 375437673 op/s
-- Other function --
Total time : 30980543 ns
Average runtime : 1.09136 ns/op
Ops per second : 916286070 op/s
-- Average runtime ratio --
Mine / Other's : 2.44058
Performance tests with inputs in low integral range:
-- My function --
Total time : 382622148 ns
Average runtime : 2.35343 ns/op
Ops per second : 424910896 op/s
-- Other function --
Total time : 222151543 ns
Average runtime : 1.36641 ns/op
Ops per second : 731844207 op/s
-- Average runtime ratio --
Mine / Other's : 1.72234
Performance tests with inputs in high integral range:
-- My function --
Total time : 307504363 ns
Average runtime : 2.24826 ns/op
Ops per second : 444786924 op/s
-- Other function --
Total time : 156257062 ns
Average runtime : 1.14244 ns/op
Ops per second : 875313526 op/s
-- Average runtime ratio --
Mine / Other's : 1.96793
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1431440272 ns
Average runtime : 2.13301 ns/op
Ops per second : 468820511 op/s
-- Other function --
Total time : 886222651 ns
Average runtime : 1.32057 ns/op
Ops per second : 757246002 op/s
-- Average runtime ratio --
Mine / Other's : 1.61521
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 807406838 ns
Average runtime : 2.40626 ns/op
Ops per second : 415582658 op/s
-- Other function --
Total time : 354159140 ns
Average runtime : 1.05547 ns/op
Ops per second : 947439278 op/s
-- Average runtime ratio --
Mine / Other's : 2.27978 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 78633889 ns
Average runtime : 2.77006 ns/op
Ops per second : 361002620 op/s
-- Other function --
Total time : 30980287 ns
Average runtime : 1.09135 ns/op
Ops per second : 916293641 op/s
-- Average runtime ratio --
Mine / Other's : 2.53819
Performance tests with inputs in low integral range:
-- My function --
Total time : 377382831 ns
Average runtime : 2.3212 ns/op
Ops per second : 430810059 op/s
-- Other function --
Total time : 222147236 ns
Average runtime : 1.36638 ns/op
Ops per second : 731858396 op/s
-- Average runtime ratio --
Mine / Other's : 1.69879
Performance tests with inputs in high integral range:
-- My function --
Total time : 301414514 ns
Average runtime : 2.20374 ns/op
Ops per second : 453773503 op/s
-- Other function --
Total time : 156331496 ns
Average runtime : 1.14299 ns/op
Ops per second : 874896764 op/s
-- Average runtime ratio --
Mine / Other's : 1.92804
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1716025297 ns
Average runtime : 2.55707 ns/op
Ops per second : 391071484 op/s
-- Other function --
Total time : 885884563 ns
Average runtime : 1.32007 ns/op
Ops per second : 757534997 op/s
-- Average runtime ratio --
Mine / Other's : 1.93707
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 816140684 ns
Average runtime : 2.43228 ns/op
Ops per second : 411135342 op/s
-- Other function --
Total time : 354139730 ns
Average runtime : 1.05541 ns/op
Ops per second : 947491206 op/s
-- Average runtime ratio --
Mine / Other's : 2.30457 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 98263016 ns
Average runtime : 3.46154 ns/op
Ops per second : 288888344 op/s
-- Other function --
Total time : 30988426 ns
Average runtime : 1.09164 ns/op
Ops per second : 916052980 op/s
-- Average runtime ratio --
Mine / Other's : 3.17096
Performance tests with inputs in low integral range:
-- My function --
Total time : 455616007 ns
Average runtime : 2.80241 ns/op
Ops per second : 356836277 op/s
-- Other function --
Total time : 222147537 ns
Average runtime : 1.36639 ns/op
Ops per second : 731857405 op/s
-- Average runtime ratio --
Mine / Other's : 2.05096
Performance tests with inputs in high integral range:
-- My function --
Total time : 327595641 ns
Average runtime : 2.39516 ns/op
Ops per second : 417508363 op/s
-- Other function --
Total time : 156257167 ns
Average runtime : 1.14245 ns/op
Ops per second : 875312938 op/s
-- Average runtime ratio --
Mine / Other's : 2.09652
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2237657899 ns
Average runtime : 3.33437 ns/op
Ops per second : 299906683 op/s
-- Other function --
Total time : 885722195 ns
Average runtime : 1.31983 ns/op
Ops per second : 757673866 op/s
-- Average runtime ratio --
Mine / Other's : 2.52637
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 902746469 ns
Average runtime : 2.69039 ns/op
Ops per second : 371692708 op/s
-- Other function --
Total time : 354141818 ns
Average runtime : 1.05542 ns/op
Ops per second : 947485620 op/s
-- Average runtime ratio --
Mine / Other's : 2.54911 </code></pre></details></li>
</li></ul></details>
<li><details><summary>Google Tensor G3, Clang 17</summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 20613240 ns
Average runtime : 0.72615 ns/op
Ops per second : 1377126545 op/s
-- Other function --
Total time : 20797038 ns
Average runtime : 0.732624 ns/op
Ops per second : 1364955913 op/s
-- Average runtime ratio --
Mine / Other's : 0.991162
Performance tests with inputs in low integral range:
-- My function --
Total time : 118406331 ns
Average runtime : 0.728294 ns/op
Ops per second : 1373071174 op/s
-- Other function --
Total time : 123118286 ns
Average runtime : 0.757277 ns/op
Ops per second : 1320521307 op/s
-- Average runtime ratio --
Mine / Other's : 0.961728
Performance tests with inputs in high integral range:
-- My function --
Total time : 101069458 ns
Average runtime : 0.738953 ns/op
Ops per second : 1353266582 op/s
-- Other function --
Total time : 102145711 ns
Average runtime : 0.746822 ns/op
Ops per second : 1339007958 op/s
-- Average runtime ratio --
Mine / Other's : 0.989464
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 460786011 ns
Average runtime : 0.686625 ns/op
Ops per second : 1456399595 op/s
-- Other function --
Total time : 460973918 ns
Average runtime : 0.686905 ns/op
Ops per second : 1455805922 op/s
-- Average runtime ratio --
Mine / Other's : 0.999592
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 230932739 ns
Average runtime : 0.688233 ns/op
Ops per second : 1452995714 op/s
-- Other function --
Total time : 230969686 ns
Average runtime : 0.688343 ns/op
Ops per second : 1452763286 op/s
-- Average runtime ratio --
Mine / Other's : 0.99984 </code></pre></details></li>
<li><details><summary>ceilf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 148345337 ns
Average runtime : 1.83142 ns/op
Ops per second : 546023229 op/s
-- Other function --
Total time : 61997233 ns
Average runtime : 0.765398 ns/op
Ops per second : 1306509921 op/s
-- Average runtime ratio --
Mine / Other's : 2.39277
Performance tests with inputs in low integral range:
-- My function --
Total time : 183389730 ns
Average runtime : 1.45547 ns/op
Ops per second : 687061374 op/s
-- Other function --
Total time : 94265340 ns
Average runtime : 0.748138 ns/op
Ops per second : 1336652474 op/s
-- Average runtime ratio --
Mine / Other's : 1.94546
Performance tests with inputs in high integral range:
-- My function --
Total time : 73299032 ns
Average runtime : 1.16348 ns/op
Ops per second : 859492933 op/s
-- Other function --
Total time : 49525513 ns
Average runtime : 0.786119 ns/op
Ops per second : 1272071629 op/s
-- Average runtime ratio --
Mine / Other's : 1.48003
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 85972575 ns
Average runtime : 2.10099 ns/op
Ops per second : 475965736 op/s
-- Other function --
Total time : 28591675 ns
Average runtime : 0.698721 ns/op
Ops per second : 1431185825 op/s
-- Average runtime ratio --
Mine / Other's : 3.00691
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 28414428 ns
Average runtime : 1.38878 ns/op
Ops per second : 720056726 op/s
-- Other function --
Total time : 14550130 ns
Average runtime : 0.71115 ns/op
Ops per second : 1406173003 op/s
-- Average runtime ratio --
Mine / Other's : 1.95286 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30599975 ns
Average runtime : 1.07796 ns/op
Ops per second : 927681803 op/s
-- Other function --
Total time : 30605021 ns
Average runtime : 1.07813 ns/op
Ops per second : 927528852 op/s
-- Average runtime ratio --
Mine / Other's : 0.999835
Performance tests with inputs in low integral range:
-- My function --
Total time : 173291871 ns
Average runtime : 1.06588 ns/op
Ops per second : 938187804 op/s
-- Other function --
Total time : 174359335 ns
Average runtime : 1.07245 ns/op
Ops per second : 932444024 op/s
-- Average runtime ratio --
Mine / Other's : 0.993878
Performance tests with inputs in high integral range:
-- My function --
Total time : 147138834 ns
Average runtime : 1.07578 ns/op
Ops per second : 929556910 op/s
-- Other function --
Total time : 147432210 ns
Average runtime : 1.07793 ns/op
Ops per second : 927707181 op/s
-- Average runtime ratio --
Mine / Other's : 0.99801
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 690998698 ns
Average runtime : 1.02967 ns/op
Ops per second : 971186431 op/s
-- Other function --
Total time : 461585490 ns
Average runtime : 0.687816 ns/op
Ops per second : 1453877070 op/s
-- Average runtime ratio --
Mine / Other's : 1.49701
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 345656494 ns
Average runtime : 1.03014 ns/op
Ops per second : 970744903 op/s
-- Other function --
Total time : 231156576 ns
Average runtime : 0.6889 ns/op
Ops per second : 1451588727 op/s
-- Average runtime ratio --
Mine / Other's : 1.49533 </code></pre></details></li>
<li><details><summary>floorf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 106951579 ns
Average runtime : 1.32039 ns/op
Ops per second : 757352072 op/s
-- Other function --
Total time : 62296631 ns
Average runtime : 0.769094 ns/op
Ops per second : 1300230826 op/s
-- Average runtime ratio --
Mine / Other's : 1.71681
Performance tests with inputs in low integral range:
-- My function --
Total time : 186643066 ns
Average runtime : 1.48129 ns/op
Ops per second : 675085352 op/s
-- Other function --
Total time : 94145792 ns
Average runtime : 0.747189 ns/op
Ops per second : 1338349779 op/s
-- Average runtime ratio --
Mine / Other's : 1.98249
Performance tests with inputs in high integral range:
-- My function --
Total time : 74408407 ns
Average runtime : 1.18109 ns/op
Ops per second : 846678521 op/s
-- Other function --
Total time : 49443034 ns
Average runtime : 0.78481 ns/op
Ops per second : 1274193650 op/s
-- Average runtime ratio --
Mine / Other's : 1.50493
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 53082235 ns
Average runtime : 1.29722 ns/op
Ops per second : 770879372 op/s
-- Other function --
Total time : 28989380 ns
Average runtime : 0.70844 ns/op
Ops per second : 1411551402 op/s
-- Average runtime ratio --
Mine / Other's : 1.83109
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 29637898 ns
Average runtime : 1.44858 ns/op
Ops per second : 690332357 op/s
-- Other function --
Total time : 14165527 ns
Average runtime : 0.692352 ns/op
Ops per second : 1444351487 op/s
-- Average runtime ratio --
Mine / Other's : 2.09226 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31306763 ns
Average runtime : 1.10285 ns/op
Ops per second : 906738266 op/s
-- Other function --
Total time : 20763143 ns
Average runtime : 0.73143 ns/op
Ops per second : 1367184149 op/s
-- Average runtime ratio --
Mine / Other's : 1.5078
Performance tests with inputs in low integral range:
-- My function --
Total time : 174325887 ns
Average runtime : 1.07224 ns/op
Ops per second : 932622932 op/s
-- Other function --
Total time : 123315145 ns
Average runtime : 0.758488 ns/op
Ops per second : 1318413241 op/s
-- Average runtime ratio --
Mine / Other's : 1.41366
Performance tests with inputs in high integral range:
-- My function --
Total time : 147450440 ns
Average runtime : 1.07806 ns/op
Ops per second : 927592484 op/s
-- Other function --
Total time : 102637125 ns
Average runtime : 0.750414 ns/op
Ops per second : 1332596952 op/s
-- Average runtime ratio --
Mine / Other's : 1.43662
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 692965088 ns
Average runtime : 1.0326 ns/op
Ops per second : 968430548 op/s
-- Other function --
Total time : 465922486 ns
Average runtime : 0.694279 ns/op
Ops per second : 1440343791 op/s
-- Average runtime ratio --
Mine / Other's : 1.4873
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 346562989 ns
Average runtime : 1.03284 ns/op
Ops per second : 968205753 op/s
-- Other function --
Total time : 232761028 ns
Average runtime : 0.693682 ns/op
Ops per second : 1441582737 op/s
-- Average runtime ratio --
Mine / Other's : 1.48892 </code></pre></details></li>
<li><details><summary>roundf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 176035360 ns
Average runtime : 2.17328 ns/op
Ops per second : 460134827 op/s
-- Other function --
Total time : 61974975 ns
Average runtime : 0.765123 ns/op
Ops per second : 1306979147 op/s
-- Average runtime ratio --
Mine / Other's : 2.84043
Performance tests with inputs in low integral range:
-- My function --
Total time : 222476156 ns
Average runtime : 1.76568 ns/op
Ops per second : 566352827 op/s
-- Other function --
Total time : 94776083 ns
Average runtime : 0.752191 ns/op
Ops per second : 1329449329 op/s
-- Average runtime ratio --
Mine / Other's : 2.34739
Performance tests with inputs in high integral range:
-- My function --
Total time : 72347249 ns
Average runtime : 1.14837 ns/op
Ops per second : 870800215 op/s
-- Other function --
Total time : 49473674 ns
Average runtime : 0.785296 ns/op
Ops per second : 1273404518 op/s
-- Average runtime ratio --
Mine / Other's : 1.46234
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 97033773 ns
Average runtime : 2.3713 ns/op
Ops per second : 421708841 op/s
-- Other function --
Total time : 28727458 ns
Average runtime : 0.70204 ns/op
Ops per second : 1424421193 op/s
-- Average runtime ratio --
Mine / Other's : 3.37774
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 35215210 ns
Average runtime : 1.72117 ns/op
Ops per second : 580998949 op/s
-- Other function --
Total time : 14168051 ns
Average runtime : 0.692476 ns/op
Ops per second : 1444094180 op/s
-- Average runtime ratio --
Mine / Other's : 2.48554 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 59830159 ns
Average runtime : 2.10766 ns/op
Ops per second : 474460380 op/s
-- Other function --
Total time : 30583008 ns
Average runtime : 1.07736 ns/op
Ops per second : 928196467 op/s
-- Average runtime ratio --
Mine / Other's : 1.95632
Performance tests with inputs in low integral range:
-- My function --
Total time : 290831177 ns
Average runtime : 1.78885 ns/op
Ops per second : 559019571 op/s
-- Other function --
Total time : 173456340 ns
Average runtime : 1.0669 ns/op
Ops per second : 937298227 op/s
-- Average runtime ratio --
Mine / Other's : 1.67668
Performance tests with inputs in high integral range:
-- My function --
Total time : 197375000 ns
Average runtime : 1.44307 ns/op
Ops per second : 692964762 op/s
-- Other function --
Total time : 146823080 ns
Average runtime : 1.07347 ns/op
Ops per second : 931555992 op/s
-- Average runtime ratio --
Mine / Other's : 1.3443
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1826045655 ns
Average runtime : 2.72102 ns/op
Ops per second : 367509190 op/s
-- Other function --
Total time : 691406210 ns
Average runtime : 1.03028 ns/op
Ops per second : 970614018 op/s
-- Average runtime ratio --
Mine / Other's : 2.64106
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 588749756 ns
Average runtime : 1.75461 ns/op
Ops per second : 569926826 op/s
-- Other function --
Total time : 346207398 ns
Average runtime : 1.03178 ns/op
Ops per second : 969200201 op/s
-- Average runtime ratio --
Mine / Other's : 1.70057 </code></pre></details></li>
<li><details><summary>roundevenf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 178420777 ns
Average runtime : 2.20273 ns/op
Ops per second : 453983002 op/s
-- Other function --
Total time : 62699707 ns
Average runtime : 0.77407 ns/op
Ops per second : 1291872065 op/s
-- Average runtime ratio --
Mine / Other's : 2.84564
Performance tests with inputs in low integral range:
-- My function --
Total time : 229413331 ns
Average runtime : 1.82074 ns/op
Ops per second : 549227019 op/s
-- Other function --
Total time : 94617758 ns
Average runtime : 0.750935 ns/op
Ops per second : 1331673912 op/s
-- Average runtime ratio --
Mine / Other's : 2.42463
Performance tests with inputs in high integral range:
-- My function --
Total time : 93893962 ns
Average runtime : 1.49038 ns/op
Ops per second : 670969662 op/s
-- Other function --
Total time : 49409628 ns
Average runtime : 0.78428 ns/op
Ops per second : 1275055137 op/s
-- Average runtime ratio --
Mine / Other's : 1.90032
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 115599406 ns
Average runtime : 2.82501 ns/op
Ops per second : 353981057 op/s
-- Other function --
Total time : 28575196 ns
Average runtime : 0.698319 ns/op
Ops per second : 1432011175 op/s
-- Average runtime ratio --
Mine / Other's : 4.04545
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 35329061 ns
Average runtime : 1.72674 ns/op
Ops per second : 579126628 op/s
-- Other function --
Total time : 14208537 ns
Average runtime : 0.694454 ns/op
Ops per second : 1439979358 op/s
-- Average runtime ratio --
Mine / Other's : 2.48647 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30647257 ns
Average runtime : 1.07962 ns/op
Ops per second : 926250593 op/s
-- Other function --
Total time : 30753418 ns
Average runtime : 1.08336 ns/op
Ops per second : 923053170 op/s
-- Average runtime ratio --
Mine / Other's : 0.996548
Performance tests with inputs in low integral range:
-- My function --
Total time : 177929200 ns
Average runtime : 1.09441 ns/op
Ops per second : 913736025 op/s
-- Other function --
Total time : 174229696 ns
Average runtime : 1.07165 ns/op
Ops per second : 933137827 op/s
-- Average runtime ratio --
Mine / Other's : 1.02123
Performance tests with inputs in high integral range:
-- My function --
Total time : 150375611 ns
Average runtime : 1.09945 ns/op
Ops per second : 909548557 op/s
-- Other function --
Total time : 147433960 ns
Average runtime : 1.07794 ns/op
Ops per second : 927696169 op/s
-- Average runtime ratio --
Mine / Other's : 1.01995
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 691555216 ns
Average runtime : 1.0305 ns/op
Ops per second : 970404885 op/s
-- Other function --
Total time : 467498209 ns
Average runtime : 0.696627 ns/op
Ops per second : 1435489050 op/s
-- Average runtime ratio --
Mine / Other's : 1.47927
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 345603231 ns
Average runtime : 1.02998 ns/op
Ops per second : 970894511 op/s
-- Other function --
Total time : 233205933 ns
Average runtime : 0.695008 ns/op
Ops per second : 1438832518 op/s
-- Average runtime ratio --
Mine / Other's : 1.48197 </code></pre></details></li>
<li><details><summary>truncf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 120245076 ns
Average runtime : 1.48451 ns/op
Ops per second : 673624257 op/s
-- Other function --
Total time : 62324951 ns
Average runtime : 0.769444 ns/op
Ops per second : 1299640010 op/s
-- Average runtime ratio --
Mine / Other's : 1.92932
Performance tests with inputs in low integral range:
-- My function --
Total time : 182210694 ns
Average runtime : 1.44612 ns/op
Ops per second : 691507162 op/s
-- Other function --
Total time : 94216634 ns
Average runtime : 0.747751 ns/op
Ops per second : 1337343467 op/s
-- Average runtime ratio --
Mine / Other's : 1.93395
Performance tests with inputs in high integral range:
-- My function --
Total time : 71829387 ns
Average runtime : 1.14015 ns/op
Ops per second : 877078346 op/s
-- Other function --
Total time : 49410197 ns
Average runtime : 0.784289 ns/op
Ops per second : 1275040453 op/s
-- Average runtime ratio --
Mine / Other's : 1.45374
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 57667969 ns
Average runtime : 1.40929 ns/op
Ops per second : 709579350 op/s
-- Other function --
Total time : 28983724 ns
Average runtime : 0.708302 ns/op
Ops per second : 1411826858 op/s
-- Average runtime ratio --
Mine / Other's : 1.98967
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 28546916 ns
Average runtime : 1.39525 ns/op
Ops per second : 716714898 op/s
-- Other function --
Total time : 14165853 ns
Average runtime : 0.692368 ns/op
Ops per second : 1444318248 op/s
-- Average runtime ratio --
Mine / Other's : 2.01519 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 99577108 ns
Average runtime : 3.50784 ns/op
Ops per second : 285075963 op/s
-- Other function --
Total time : 26434285 ns
Average runtime : 0.93121 ns/op
Ops per second : 1073872056 op/s
-- Average runtime ratio --
Mine / Other's : 3.76697
Performance tests with inputs in low integral range:
-- My function --
Total time : 502892130 ns
Average runtime : 3.09319 ns/op
Ops per second : 323290642 op/s
-- Other function --
Total time : 124910034 ns
Average runtime : 0.768297 ns/op
Ops per second : 1301579343 op/s
-- Average runtime ratio --
Mine / Other's : 4.02603
Performance tests with inputs in high integral range:
-- My function --
Total time : 430162354 ns
Average runtime : 3.14506 ns/op
Ops per second : 317958832 op/s
-- Other function --
Total time : 108097249 ns
Average runtime : 0.790335 ns/op
Ops per second : 1265285853 op/s
-- Average runtime ratio --
Mine / Other's : 3.9794
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2473653159 ns
Average runtime : 3.68603 ns/op
Ops per second : 271294525 op/s
-- Other function --
Total time : 471649781 ns
Average runtime : 0.702813 ns/op
Ops per second : 1422853538 op/s
-- Average runtime ratio --
Mine / Other's : 5.24468
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 995390300 ns
Average runtime : 2.96649 ns/op
Ops per second : 337098201 op/s
-- Other function --
Total time : 237407226 ns
Average runtime : 0.707529 ns/op
Ops per second : 1413370122 op/s
-- Average runtime ratio --
Mine / Other's : 4.19275 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 76960978 ns
Average runtime : 2.71113 ns/op
Ops per second : 368849782 op/s
-- Other function --
Total time : 21244629 ns
Average runtime : 0.748392 ns/op
Ops per second : 1336198433 op/s
-- Average runtime ratio --
Mine / Other's : 3.62261
Performance tests with inputs in low integral range:
-- My function --
Total time : 366129517 ns
Average runtime : 2.25199 ns/op
Ops per second : 444051387 op/s
-- Other function --
Total time : 125986084 ns
Average runtime : 0.774916 ns/op
Ops per second : 1290462524 op/s
-- Average runtime ratio --
Mine / Other's : 2.90611
Performance tests with inputs in high integral range:
-- My function --
Total time : 260442749 ns
Average runtime : 1.90418 ns/op
Ops per second : 525159254 op/s
-- Other function --
Total time : 105779419 ns
Average runtime : 0.773389 ns/op
Ops per second : 1293010694 op/s
-- Average runtime ratio --
Mine / Other's : 2.46213
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1812317139 ns
Average runtime : 2.70056 ns/op
Ops per second : 370293115 op/s
-- Other function --
Total time : 478281331 ns
Average runtime : 0.712695 ns/op
Ops per second : 1403125141 op/s
-- Average runtime ratio --
Mine / Other's : 3.78923
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 741444500 ns
Average runtime : 2.20968 ns/op
Ops per second : 452554816 op/s
-- Other function --
Total time : 236043457 ns
Average runtime : 0.703464 ns/op
Ops per second : 1421536035 op/s
-- Average runtime ratio --
Mine / Other's : 3.14114 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 111399373 ns
Average runtime : 3.9243 ns/op
Ops per second : 254822260 op/s
-- Other function --
Total time : 20974772 ns
Average runtime : 0.738885 ns/op
Ops per second : 1353389681 op/s
-- Average runtime ratio --
Mine / Other's : 5.31111
Performance tests with inputs in low integral range:
-- My function --
Total time : 420168620 ns
Average runtime : 2.58438 ns/op
Ops per second : 386940652 op/s
-- Other function --
Total time : 125486939 ns
Average runtime : 0.771846 ns/op
Ops per second : 1295595551 op/s
-- Average runtime ratio --
Mine / Other's : 3.34831
Performance tests with inputs in high integral range:
-- My function --
Total time : 308505575 ns
Average runtime : 2.25559 ns/op
Ops per second : 443343430 op/s
-- Other function --
Total time : 105182658 ns
Average runtime : 0.769026 ns/op
Ops per second : 1300346678 op/s
-- Average runtime ratio --
Mine / Other's : 2.93305
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2595144248 ns
Average runtime : 3.86707 ns/op
Ops per second : 258593933 op/s
-- Other function --
Total time : 488010132 ns
Average runtime : 0.727192 ns/op
Ops per second : 1375152924 op/s
-- Average runtime ratio --
Mine / Other's : 5.31781
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 853724569 ns
Average runtime : 2.5443 ns/op
Ops per second : 393035754 op/s
-- Other function --
Total time : 235588786 ns
Average runtime : 0.702109 ns/op
Ops per second : 1424279507 op/s
-- Average runtime ratio --
Mine / Other's : 3.62379 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 98666911 ns
Average runtime : 3.47577 ns/op
Ops per second : 287705774 op/s
-- Other function --
Total time : 21502808 ns
Average runtime : 0.757487 ns/op
Ops per second : 1320155023 op/s
-- Average runtime ratio --
Mine / Other's : 4.58856
Performance tests with inputs in low integral range:
-- My function --
Total time : 547814779 ns
Average runtime : 3.3695 ns/op
Ops per second : 296779725 op/s
-- Other function --
Total time : 125701457 ns
Average runtime : 0.773165 ns/op
Ops per second : 1293384530 op/s
-- Average runtime ratio --
Mine / Other's : 4.35806
Performance tests with inputs in high integral range:
-- My function --
Total time : 407717815 ns
Average runtime : 2.98096 ns/op
Ops per second : 335462211 op/s
-- Other function --
Total time : 104824626 ns
Average runtime : 0.766408 ns/op
Ops per second : 1304788056 op/s
-- Average runtime ratio --
Mine / Other's : 3.88952
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2651742107 ns
Average runtime : 3.9514 ns/op
Ops per second : 253074595 op/s
-- Other function --
Total time : 472804281 ns
Average runtime : 0.704533 ns/op
Ops per second : 1419379195 op/s
-- Average runtime ratio --
Mine / Other's : 5.60854
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 1040343140 ns
Average runtime : 3.10046 ns/op
Ops per second : 322532313 op/s
-- Other function --
Total time : 236356811 ns
Average runtime : 0.704398 ns/op
Ops per second : 1419651410 op/s
-- Average runtime ratio --
Mine / Other's : 4.40158 </code></pre></details></li>
<li><details><summary>rintf16_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 261969198 ns
Average runtime : 3.23419 ns/op
Ops per second : 309196656 op/s
-- Other function --
Total time : 64759277 ns
Average runtime : 0.799497 ns/op
Ops per second : 1250786045 op/s
-- Average runtime ratio --
Mine / Other's : 4.04528
Performance tests with inputs in low integral range:
-- My function --
Total time : 597683269 ns
Average runtime : 4.74352 ns/op
Ops per second : 210813998 op/s
-- Other function --
Total time : 95478842 ns
Average runtime : 0.757769 ns/op
Ops per second : 1319664098 op/s
-- Average runtime ratio --
Mine / Other's : 6.25985
Performance tests with inputs in high integral range:
-- My function --
Total time : 169567057 ns
Average runtime : 2.69154 ns/op
Ops per second : 371534430 op/s
-- Other function --
Total time : 52249634 ns
Average runtime : 0.829359 ns/op
Ops per second : 1205750072 op/s
-- Average runtime ratio --
Mine / Other's : 3.24533
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 245038900 ns
Average runtime : 5.98824 ns/op
Ops per second : 166993893 op/s
-- Other function --
Total time : 28858032 ns
Average runtime : 0.70523 ns/op
Ops per second : 1417976111 op/s
-- Average runtime ratio --
Mine / Other's : 8.49119
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 83291992 ns
Average runtime : 4.07097 ns/op
Ops per second : 245641861 op/s
-- Other function --
Total time : 14493042 ns
Average runtime : 0.70836 ns/op
Ops per second : 1411711909 op/s
-- Average runtime ratio --
Mine / Other's : 5.74703 </code></pre></details></li>
<li><details><summary>rintf16_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 207195923 ns
Average runtime : 2.55797 ns/op
Ops per second : 390934333 op/s
-- Other function --
Total time : 66509766 ns
Average runtime : 0.821108 ns/op
Ops per second : 1217866260 op/s
-- Average runtime ratio --
Mine / Other's : 3.11527
Performance tests with inputs in low integral range:
-- My function --
Total time : 459215088 ns
Average runtime : 3.64456 ns/op
Ops per second : 274381228 op/s
-- Other function --
Total time : 111042684 ns
Average runtime : 0.881291 ns/op
Ops per second : 1134698797 op/s
-- Average runtime ratio --
Mine / Other's : 4.13548
Performance tests with inputs in high integral range:
-- My function --
Total time : 134631714 ns
Average runtime : 2.13701 ns/op
Ops per second : 467943236 op/s
-- Other function --
Total time : 53047811 ns
Average runtime : 0.842029 ns/op
Ops per second : 1187607910 op/s
-- Average runtime ratio --
Mine / Other's : 2.53793
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 108393188 ns
Average runtime : 2.6489 ns/op
Ops per second : 377514498 op/s
-- Other function --
Total time : 30754395 ns
Average runtime : 0.751574 ns/op
Ops per second : 1330541537 op/s
-- Average runtime ratio --
Mine / Other's : 3.52448
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 61650350 ns
Average runtime : 3.01321 ns/op
Ops per second : 331871595 op/s
-- Other function --
Total time : 21790487 ns
Average runtime : 1.06503 ns/op
Ops per second : 938941841 op/s
-- Average runtime ratio --
Mine / Other's : 2.82923 </code></pre></details></li>
<li><details><summary>rintf16_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 326500733 ns
Average runtime : 4.03087 ns/op
Ops per second : 248085201 op/s
-- Other function --
Total time : 63855509 ns
Average runtime : 0.78834 ns/op
Ops per second : 1268488831 op/s
-- Average runtime ratio --
Mine / Other's : 5.11312
Performance tests with inputs in low integral range:
-- My function --
Total time : 539878744 ns
Average runtime : 4.28475 ns/op
Ops per second : 233385739 op/s
-- Other function --
Total time : 94999959 ns
Average runtime : 0.753968 ns/op
Ops per second : 1326316361 op/s
-- Average runtime ratio --
Mine / Other's : 5.68294
Performance tests with inputs in high integral range:
-- My function --
Total time : 148780477 ns
Average runtime : 2.36159 ns/op
Ops per second : 423442653 op/s
-- Other function --
Total time : 51217082 ns
Average runtime : 0.81297 ns/op
Ops per second : 1230058362 op/s
-- Average runtime ratio --
Mine / Other's : 2.9049
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 170421712 ns
Average runtime : 4.16475 ns/op
Ops per second : 240110250 op/s
-- Other function --
Total time : 28901001 ns
Average runtime : 0.706281 ns/op
Ops per second : 1415867914 op/s
-- Average runtime ratio --
Mine / Other's : 5.89674
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 77890341 ns
Average runtime : 3.80696 ns/op
Ops per second : 262676985 op/s
-- Other function --
Total time : 14445435 ns
Average runtime : 0.706033 ns/op
Ops per second : 1416364408 op/s
-- Average runtime ratio --
Mine / Other's : 5.39204 </code></pre></details></li>
<li><details><summary>rintf16_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 337821615 ns
Average runtime : 4.17064 ns/op
Ops per second : 239771513 op/s
-- Other function --
Total time : 62528361 ns
Average runtime : 0.771955 ns/op
Ops per second : 1295412173 op/s
-- Average runtime ratio --
Mine / Other's : 5.40269
Performance tests with inputs in low integral range:
-- My function --
Total time : 619715170 ns
Average runtime : 4.91837 ns/op
Ops per second : 203319211 op/s
-- Other function --
Total time : 95465291 ns
Average runtime : 0.757661 ns/op
Ops per second : 1319851421 op/s
-- Average runtime ratio --
Mine / Other's : 6.49152
Performance tests with inputs in high integral range:
-- My function --
Total time : 171521159 ns
Average runtime : 2.72256 ns/op
Ops per second : 367301622 op/s
-- Other function --
Total time : 50993164 ns
Average runtime : 0.809415 ns/op
Ops per second : 1235459717 op/s
-- Average runtime ratio --
Mine / Other's : 3.36361
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 270579509 ns
Average runtime : 6.6124 ns/op
Ops per second : 151230964 op/s
-- Other function --
Total time : 28857340 ns
Average runtime : 0.705214 ns/op
Ops per second : 1418010114 op/s
-- Average runtime ratio --
Mine / Other's : 9.37645
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 83825318 ns
Average runtime : 4.09703 ns/op
Ops per second : 244079002 op/s
-- Other function --
Total time : 30502645 ns
Average runtime : 1.49084 ns/op
Ops per second : 670761502 op/s
-- Average runtime ratio --
Mine / Other's : 2.74813 </code></pre></details></li>
</li></ul></details>
<li><details><summary>Google Tensor G3, Clang 17, <code>-mcpu=cortex-x3</code></summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 22190348 ns
Average runtime : 0.781707 ns/op
Ops per second : 1279251681 op/s
-- Other function --
Total time : 21274495 ns
Average runtime : 0.749444 ns/op
Ops per second : 1334322624 op/s
-- Average runtime ratio --
Mine / Other's : 1.04305
Performance tests with inputs in low integral range:
-- My function --
Total time : 121465170 ns
Average runtime : 0.747109 ns/op
Ops per second : 1338493331 op/s
-- Other function --
Total time : 125333414 ns
Average runtime : 0.770902 ns/op
Ops per second : 1297182569 op/s
-- Average runtime ratio --
Mine / Other's : 0.969136
Performance tests with inputs in high integral range:
-- My function --
Total time : 102985515 ns
Average runtime : 0.752962 ns/op
Ops per second : 1328088906 op/s
-- Other function --
Total time : 104196615 ns
Average runtime : 0.761816 ns/op
Ops per second : 1312652239 op/s
-- Average runtime ratio --
Mine / Other's : 0.988377
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 471322754 ns
Average runtime : 0.702326 ns/op
Ops per second : 1423840784 op/s
-- Other function --
Total time : 475748169 ns
Average runtime : 0.70892 ns/op
Ops per second : 1410596201 op/s
-- Average runtime ratio --
Mine / Other's : 0.990698
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 235918335 ns
Average runtime : 0.703092 ns/op
Ops per second : 1422289963 op/s
-- Other function --
Total time : 237295858 ns
Average runtime : 0.707197 ns/op
Ops per second : 1414033446 op/s
-- Average runtime ratio --
Mine / Other's : 0.994195 </code></pre></details></li>
<li><details><summary>ceilf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 150274495 ns
Average runtime : 1.85524 ns/op
Ops per second : 539013623 op/s
-- Other function --
Total time : 62523641 ns
Average runtime : 0.771897 ns/op
Ops per second : 1295509965 op/s
-- Average runtime ratio --
Mine / Other's : 2.40348
Performance tests with inputs in low integral range:
-- My function --
Total time : 189209066 ns
Average runtime : 1.50166 ns/op
Ops per second : 665930035 op/s
-- Other function --
Total time : 95846273 ns
Average runtime : 0.760685 ns/op
Ops per second : 1314605107 op/s
-- Average runtime ratio --
Mine / Other's : 1.97409
Performance tests with inputs in high integral range:
-- My function --
Total time : 74738200 ns
Average runtime : 1.18632 ns/op
Ops per second : 842942431 op/s
-- Other function --
Total time : 49823934 ns
Average runtime : 0.790856 ns/op
Ops per second : 1264452542 op/s
-- Average runtime ratio --
Mine / Other's : 1.50005
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 103116374 ns
Average runtime : 2.51995 ns/op
Ops per second : 396833193 op/s
-- Other function --
Total time : 28907430 ns
Average runtime : 0.706438 ns/op
Ops per second : 1415553025 op/s
-- Average runtime ratio --
Mine / Other's : 3.56712
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 44625041 ns
Average runtime : 2.18109 ns/op
Ops per second : 458486973 op/s
-- Other function --
Total time : 14481527 ns
Average runtime : 0.707797 ns/op
Ops per second : 1412834433 op/s
-- Average runtime ratio --
Mine / Other's : 3.08151 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31341552 ns
Average runtime : 1.10408 ns/op
Ops per second : 905731790 op/s
-- Other function --
Total time : 20915243 ns
Average runtime : 0.736788 ns/op
Ops per second : 1357241701 op/s
-- Average runtime ratio --
Mine / Other's : 1.4985
Performance tests with inputs in low integral range:
-- My function --
Total time : 175734619 ns
Average runtime : 1.08091 ns/op
Ops per second : 925146797 op/s
-- Other function --
Total time : 125278849 ns
Average runtime : 0.770566 ns/op
Ops per second : 1297747555 op/s
-- Average runtime ratio --
Mine / Other's : 1.40275
Performance tests with inputs in high integral range:
-- My function --
Total time : 148791829 ns
Average runtime : 1.08787 ns/op
Ops per second : 919230047 op/s
-- Other function --
Total time : 104051473 ns
Average runtime : 0.760755 ns/op
Ops per second : 1314483265 op/s
-- Average runtime ratio --
Mine / Other's : 1.42998
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 693983602 ns
Average runtime : 1.03412 ns/op
Ops per second : 967009246 op/s
-- Other function --
Total time : 474097860 ns
Average runtime : 0.706461 ns/op
Ops per second : 1415506410 op/s
-- Average runtime ratio --
Mine / Other's : 1.4638
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 347158936 ns
Average runtime : 1.03461 ns/op
Ops per second : 966543692 op/s
-- Other function --
Total time : 236296224 ns
Average runtime : 0.704218 ns/op
Ops per second : 1420015412 op/s
-- Average runtime ratio --
Mine / Other's : 1.46917 </code></pre></details></li>
<li><details><summary>floorf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 110491171 ns
Average runtime : 1.36409 ns/op
Ops per second : 733090248 op/s
-- Other function --
Total time : 63186646 ns
Average runtime : 0.780082 ns/op
Ops per second : 1281916435 op/s
-- Average runtime ratio --
Mine / Other's : 1.74865
Performance tests with inputs in low integral range:
-- My function --
Total time : 190052124 ns
Average runtime : 1.50835 ns/op
Ops per second : 662976015 op/s
-- Other function --
Total time : 93789103 ns
Average runtime : 0.744358 ns/op
Ops per second : 1343439653 op/s
-- Average runtime ratio --
Mine / Other's : 2.02638
Performance tests with inputs in high integral range:
-- My function --
Total time : 75733928 ns
Average runtime : 1.20213 ns/op
Ops per second : 831859665 op/s
-- Other function --
Total time : 50471476 ns
Average runtime : 0.801135 ns/op
Ops per second : 1248229792 op/s
-- Average runtime ratio --
Mine / Other's : 1.50053
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 55647217 ns
Average runtime : 1.3599 ns/op
Ops per second : 735346746 op/s
-- Other function --
Total time : 28982219 ns
Average runtime : 0.708265 ns/op
Ops per second : 1411900172 op/s
-- Average runtime ratio --
Mine / Other's : 1.92005
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 30345255 ns
Average runtime : 1.48315 ns/op
Ops per second : 674240503 op/s
-- Other function --
Total time : 14490682 ns
Average runtime : 0.708244 ns/op
Ops per second : 1411941825 op/s
-- Average runtime ratio --
Mine / Other's : 2.09412 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30655884 ns
Average runtime : 1.07993 ns/op
Ops per second : 925989933 op/s
-- Other function --
Total time : 20821045 ns
Average runtime : 0.73347 ns/op
Ops per second : 1363382097 op/s
-- Average runtime ratio --
Mine / Other's : 1.47235
Performance tests with inputs in low integral range:
-- My function --
Total time : 173474976 ns
Average runtime : 1.06701 ns/op
Ops per second : 937197535 op/s
-- Other function --
Total time : 125112223 ns
Average runtime : 0.769541 ns/op
Ops per second : 1299475911 op/s
-- Average runtime ratio --
Mine / Other's : 1.38655
Performance tests with inputs in high integral range:
-- My function --
Total time : 147928345 ns
Average runtime : 1.08155 ns/op
Ops per second : 924595756 op/s
-- Other function --
Total time : 104241781 ns
Average runtime : 0.762147 ns/op
Ops per second : 1312083491 op/s
-- Average runtime ratio --
Mine / Other's : 1.41909
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 692341512 ns
Average runtime : 1.03167 ns/op
Ops per second : 969302791 op/s
-- Other function --
Total time : 475987264 ns
Average runtime : 0.709276 ns/op
Ops per second : 1409887639 op/s
-- Average runtime ratio --
Mine / Other's : 1.45454
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 348001302 ns
Average runtime : 1.03712 ns/op
Ops per second : 964204093 op/s
-- Other function --
Total time : 236967163 ns
Average runtime : 0.706217 ns/op
Ops per second : 1415994839 op/s
-- Average runtime ratio --
Mine / Other's : 1.46856 </code></pre></details></li>
<li><details><summary>roundf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 181991170 ns
Average runtime : 2.2468 ns/op
Ops per second : 445076538 op/s
-- Other function --
Total time : 63976603 ns
Average runtime : 0.789835 ns/op
Ops per second : 1266087854 op/s
-- Average runtime ratio --
Mine / Other's : 2.84465
Performance tests with inputs in low integral range:
-- My function --
Total time : 227563721 ns
Average runtime : 1.80606 ns/op
Ops per second : 553691069 op/s
-- Other function --
Total time : 96704020 ns
Average runtime : 0.767492 ns/op
Ops per second : 1302944800 op/s
-- Average runtime ratio --
Mine / Other's : 2.3532
Performance tests with inputs in high integral range:
-- My function --
Total time : 75105590 ns
Average runtime : 1.19215 ns/op
Ops per second : 838819054 op/s
-- Other function --
Total time : 52686483 ns
Average runtime : 0.836293 ns/op
Ops per second : 1195752618 op/s
-- Average runtime ratio --
Mine / Other's : 1.42552
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 106019979 ns
Average runtime : 2.59091 ns/op
Ops per second : 385964988 op/s
-- Other function --
Total time : 29257650 ns
Average runtime : 0.714996 ns/op
Ops per second : 1398608569 op/s
-- Average runtime ratio --
Mine / Other's : 3.62367
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 36705769 ns
Average runtime : 1.79403 ns/op
Ops per second : 557405567 op/s
-- Other function --
Total time : 15346028 ns
Average runtime : 0.75005 ns/op
Ops per second : 1333244015 op/s
-- Average runtime ratio --
Mine / Other's : 2.39187 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 52077759 ns
Average runtime : 1.83456 ns/op
Ops per second : 545089507 op/s
-- Other function --
Total time : 21156047 ns
Average runtime : 0.745271 ns/op
Ops per second : 1341793199 op/s
-- Average runtime ratio --
Mine / Other's : 2.4616
Performance tests with inputs in low integral range:
-- My function --
Total time : 248909343 ns
Average runtime : 1.53099 ns/op
Ops per second : 653170821 op/s
-- Other function --
Total time : 121101806 ns
Average runtime : 0.744874 ns/op
Ops per second : 1342509458 op/s
-- Average runtime ratio --
Mine / Other's : 2.05537
Performance tests with inputs in high integral range:
-- My function --
Total time : 159645183 ns
Average runtime : 1.16722 ns/op
Ops per second : 856736905 op/s
-- Other function --
Total time : 103190918 ns
Average runtime : 0.754463 ns/op
Ops per second : 1325445326 op/s
-- Average runtime ratio --
Mine / Other's : 1.54709
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1673990235 ns
Average runtime : 2.49444 ns/op
Ops per second : 400891561 op/s
-- Other function --
Total time : 467396566 ns
Average runtime : 0.696475 ns/op
Ops per second : 1435801220 op/s
-- Average runtime ratio --
Mine / Other's : 3.58152
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 517690675 ns
Average runtime : 1.54284 ns/op
Ops per second : 648155928 op/s
-- Other function --
Total time : 234241740 ns
Average runtime : 0.698095 ns/op
Ops per second : 1432470062 op/s
-- Average runtime ratio --
Mine / Other's : 2.21007 </code></pre></details></li>
<li><details><summary>roundevenf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 154945842 ns
Average runtime : 1.91291 ns/op
Ops per second : 522763302 op/s
-- Other function --
Total time : 64390096 ns
Average runtime : 0.794939 ns/op
Ops per second : 1257957434 op/s
-- Average runtime ratio --
Mine / Other's : 2.40636
Performance tests with inputs in low integral range:
-- My function --
Total time : 195930705 ns
Average runtime : 1.55501 ns/op
Ops per second : 643084502 op/s
-- Other function --
Total time : 97100179 ns
Average runtime : 0.770636 ns/op
Ops per second : 1297628915 op/s
-- Average runtime ratio --
Mine / Other's : 2.01782
Performance tests with inputs in high integral range:
-- My function --
Total time : 76587280 ns
Average runtime : 1.21567 ns/op
Ops per second : 822590905 op/s
-- Other function --
Total time : 51454671 ns
Average runtime : 0.816741 ns/op
Ops per second : 1224378638 op/s
-- Average runtime ratio --
Mine / Other's : 1.48844
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 105030029 ns
Average runtime : 2.56672 ns/op
Ops per second : 389602863 op/s
-- Other function --
Total time : 29611735 ns
Average runtime : 0.723649 ns/op
Ops per second : 1381884580 op/s
-- Average runtime ratio --
Mine / Other's : 3.54691
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 32025227 ns
Average runtime : 1.56526 ns/op
Ops per second : 638871349 op/s
-- Other function --
Total time : 15373535 ns
Average runtime : 0.751395 ns/op
Ops per second : 1330858517 op/s
-- Average runtime ratio --
Mine / Other's : 2.08314 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31443318 ns
Average runtime : 1.10766 ns/op
Ops per second : 902800397 op/s
-- Other function --
Total time : 21020183 ns
Average runtime : 0.740485 ns/op
Ops per second : 1350465883 op/s
-- Average runtime ratio --
Mine / Other's : 1.49586
Performance tests with inputs in low integral range:
-- My function --
Total time : 175143188 ns
Average runtime : 1.07727 ns/op
Ops per second : 928270872 op/s
-- Other function --
Total time : 126501384 ns
Average runtime : 0.778085 ns/op
Ops per second : 1285205859 op/s
-- Average runtime ratio --
Mine / Other's : 1.38452
Performance tests with inputs in high integral range:
-- My function --
Total time : 149271403 ns
Average runtime : 1.09137 ns/op
Ops per second : 916276776 op/s
-- Other function --
Total time : 104550334 ns
Average runtime : 0.764403 ns/op
Ops per second : 1308211220 op/s
-- Average runtime ratio --
Mine / Other's : 1.42775
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 695988607 ns
Average runtime : 1.0371 ns/op
Ops per second : 964223484 op/s
-- Other function --
Total time : 480478720 ns
Average runtime : 0.715969 ns/op
Ops per second : 1396708183 op/s
-- Average runtime ratio --
Mine / Other's : 1.44853
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 347642741 ns
Average runtime : 1.03606 ns/op
Ops per second : 965198580 op/s
-- Other function --
Total time : 237271891 ns
Average runtime : 0.707125 ns/op
Ops per second : 1414176279 op/s
-- Average runtime ratio --
Mine / Other's : 1.46517 </code></pre></details></li>
<li><details><summary>truncf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 126698282 ns
Average runtime : 1.56418 ns/op
Ops per second : 639314114 op/s
-- Other function --
Total time : 64478760 ns
Average runtime : 0.796034 ns/op
Ops per second : 1256227632 op/s
-- Average runtime ratio --
Mine / Other's : 1.96496
Performance tests with inputs in low integral range:
-- My function --
Total time : 187881266 ns
Average runtime : 1.49112 ns/op
Ops per second : 670636315 op/s
-- Other function --
Total time : 95194418 ns
Average runtime : 0.755511 ns/op
Ops per second : 1323607020 op/s
-- Average runtime ratio --
Mine / Other's : 1.97366
Performance tests with inputs in high integral range:
-- My function --
Total time : 72211426 ns
Average runtime : 1.14621 ns/op
Ops per second : 872438109 op/s
-- Other function --
Total time : 50566488 ns
Average runtime : 0.802643 ns/op
Ops per second : 1245884428 op/s
-- Average runtime ratio --
Mine / Other's : 1.42805
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 60355306 ns
Average runtime : 1.47496 ns/op
Ops per second : 677985130 op/s
-- Other function --
Total time : 30490601 ns
Average runtime : 0.745127 ns/op
Ops per second : 1342052916 op/s
-- Average runtime ratio --
Mine / Other's : 1.97947
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 29369791 ns
Average runtime : 1.43547 ns/op
Ops per second : 696634170 op/s
-- Other function --
Total time : 15375325 ns
Average runtime : 0.751482 ns/op
Ops per second : 1330703578 op/s
-- Average runtime ratio --
Mine / Other's : 1.91019 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 103913859 ns
Average runtime : 3.66061 ns/op
Ops per second : 273178575 op/s
-- Other function --
Total time : 22667317 ns
Average runtime : 0.798509 ns/op
Ops per second : 1252333480 op/s
-- Average runtime ratio --
Mine / Other's : 4.5843
Performance tests with inputs in low integral range:
-- My function --
Total time : 788180583 ns
Average runtime : 4.84795 ns/op
Ops per second : 206272932 op/s
-- Other function --
Total time : 125151733 ns
Average runtime : 0.769784 ns/op
Ops per second : 1299065670 op/s
-- Average runtime ratio --
Mine / Other's : 6.2978
Performance tests with inputs in high integral range:
-- My function --
Total time : 343089762 ns
Average runtime : 2.50844 ns/op
Ops per second : 398653457 op/s
-- Other function --
Total time : 106847535 ns
Average runtime : 0.781198 ns/op
Ops per second : 1280084935 op/s
-- Average runtime ratio --
Mine / Other's : 3.21102
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2293953167 ns
Average runtime : 3.41826 ns/op
Ops per second : 292546757 op/s
-- Other function --
Total time : 481552002 ns
Average runtime : 0.717568 ns/op
Ops per second : 1393595203 op/s
-- Average runtime ratio --
Mine / Other's : 4.76367
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 908821087 ns
Average runtime : 2.7085 ns/op
Ops per second : 369208290 op/s
-- Other function --
Total time : 246248169 ns
Average runtime : 0.733877 ns/op
Ops per second : 1362626497 op/s
-- Average runtime ratio --
Mine / Other's : 3.69067 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 78351115 ns
Average runtime : 2.7601 ns/op
Ops per second : 362305501 op/s
-- Other function --
Total time : 26990235 ns
Average runtime : 0.950794 ns/op
Ops per second : 1051752235 op/s
-- Average runtime ratio --
Mine / Other's : 2.90294
Performance tests with inputs in low integral range:
-- My function --
Total time : 370440837 ns
Average runtime : 2.27851 ns/op
Ops per second : 438883362 op/s
-- Other function --
Total time : 136972046 ns
Average runtime : 0.842488 ns/op
Ops per second : 1186959856 op/s
-- Average runtime ratio --
Mine / Other's : 2.7045
Performance tests with inputs in high integral range:
-- My function --
Total time : 281085246 ns
Average runtime : 2.05511 ns/op
Ops per second : 486592312 op/s
-- Other function --
Total time : 112689210 ns
Average runtime : 0.823909 ns/op
Ops per second : 1213726851 op/s
-- Average runtime ratio --
Mine / Other's : 2.49434
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1891576661 ns
Average runtime : 2.81867 ns/op
Ops per second : 354777352 op/s
-- Other function --
Total time : 507438761 ns
Average runtime : 0.756143 ns/op
Ops per second : 1322501573 op/s
-- Average runtime ratio --
Mine / Other's : 3.72769
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 702353028 ns
Average runtime : 2.09318 ns/op
Ops per second : 477743053 op/s
-- Other function --
Total time : 254355061 ns
Average runtime : 0.758037 ns/op
Ops per second : 1319196396 op/s
-- Average runtime ratio --
Mine / Other's : 2.76131 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 68327637 ns
Average runtime : 2.407 ns/op
Ops per second : 415454730 op/s
-- Other function --
Total time : 23506999 ns
Average runtime : 0.828089 ns/op
Ops per second : 1207599489 op/s
-- Average runtime ratio --
Mine / Other's : 2.90669
Performance tests with inputs in low integral range:
-- My function --
Total time : 391845541 ns
Average runtime : 2.41017 ns/op
Ops per second : 414909200 op/s
-- Other function --
Total time : 139636882 ns
Average runtime : 0.858879 ns/op
Ops per second : 1164307865 op/s
-- Average runtime ratio --
Mine / Other's : 2.80618
Performance tests with inputs in high integral range:
-- My function --
Total time : 330983968 ns
Average runtime : 2.41993 ns/op
Ops per second : 413234274 op/s
-- Other function --
Total time : 116780029 ns
Average runtime : 0.853818 ns/op
Ops per second : 1171209847 op/s
-- Average runtime ratio --
Mine / Other's : 2.83425
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1636791220 ns
Average runtime : 2.43901 ns/op
Ops per second : 410002541 op/s
-- Other function --
Total time : 525868205 ns
Average runtime : 0.783605 ns/op
Ops per second : 1276153518 op/s
-- Average runtime ratio --
Mine / Other's : 3.11255
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 794623047 ns
Average runtime : 2.36816 ns/op
Ops per second : 422268497 op/s
-- Other function --
Total time : 263124349 ns
Average runtime : 0.784172 ns/op
Ops per second : 1275230822 op/s
-- Average runtime ratio --
Mine / Other's : 3.01995 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 97106526 ns
Average runtime : 3.4208 ns/op
Ops per second : 292328859 op/s
-- Other function --
Total time : 23569865 ns
Average runtime : 0.830304 ns/op
Ops per second : 1204378557 op/s
-- Average runtime ratio --
Mine / Other's : 4.11994
Performance tests with inputs in low integral range:
-- My function --
Total time : 463243856 ns
Average runtime : 2.84932 ns/op
Ops per second : 350960553 op/s
-- Other function --
Total time : 151513224 ns
Average runtime : 0.931928 ns/op
Ops per second : 1073043762 op/s
-- Average runtime ratio --
Mine / Other's : 3.05745
Performance tests with inputs in high integral range:
-- My function --
Total time : 416834920 ns
Average runtime : 3.04762 ns/op
Ops per second : 328124908 op/s
-- Other function --
Total time : 125842733 ns
Average runtime : 0.920078 ns/op
Ops per second : 1086863871 op/s
-- Average runtime ratio --
Mine / Other's : 3.31235
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 2701651734 ns
Average runtime : 4.02578 ns/op
Ops per second : 248399359 op/s
-- Other function --
Total time : 568562582 ns
Average runtime : 0.847224 ns/op
Ops per second : 1180324877 op/s
-- Average runtime ratio --
Mine / Other's : 4.75172
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 995332642 ns
Average runtime : 2.96632 ns/op
Ops per second : 337117729 op/s
-- Other function --
Total time : 284445516 ns
Average runtime : 0.847714 ns/op
Ops per second : 1179643415 op/s
-- Average runtime ratio --
Mine / Other's : 3.4992 </code></pre></details></li>
<li><details><summary>rintf16_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 252677205 ns
Average runtime : 3.11947 ns/op
Ops per second : 320567104 op/s
-- Other function --
Total time : 65575073 ns
Average runtime : 0.809569 ns/op
Ops per second : 1235225464 op/s
-- Average runtime ratio --
Mine / Other's : 3.85325
Performance tests with inputs in low integral range:
-- My function --
Total time : 349815877 ns
Average runtime : 2.77632 ns/op
Ops per second : 360189483 op/s
-- Other function --
Total time : 99827229 ns
Average runtime : 0.79228 ns/op
Ops per second : 1262180682 op/s
-- Average runtime ratio --
Mine / Other's : 3.50421
Performance tests with inputs in high integral range:
-- My function --
Total time : 194341919 ns
Average runtime : 3.08479 ns/op
Ops per second : 324170926 op/s
-- Other function --
Total time : 52640625 ns
Average runtime : 0.835565 ns/op
Ops per second : 1196794300 op/s
-- Average runtime ratio --
Mine / Other's : 3.69186
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 158527059 ns
Average runtime : 3.87407 ns/op
Ops per second : 258126279 op/s
-- Other function --
Total time : 30747762 ns
Average runtime : 0.751412 ns/op
Ops per second : 1330828565 op/s
-- Average runtime ratio --
Mine / Other's : 5.15573
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 54793457 ns
Average runtime : 2.67808 ns/op
Ops per second : 373402247 op/s
-- Other function --
Total time : 15401734 ns
Average runtime : 0.752773 ns/op
Ops per second : 1328421851 op/s
-- Average runtime ratio --
Mine / Other's : 3.55762 </code></pre></details></li>
<li><details><summary>rintf16_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 200405559 ns
Average runtime : 2.47414 ns/op
Ops per second : 404180404 op/s
-- Other function --
Total time : 67383667 ns
Average runtime : 0.831897 ns/op
Ops per second : 1202071712 op/s
-- Average runtime ratio --
Mine / Other's : 2.9741
Performance tests with inputs in low integral range:
-- My function --
Total time : 260798828 ns
Average runtime : 2.06983 ns/op
Ops per second : 483131005 op/s
-- Other function --
Total time : 102396810 ns
Average runtime : 0.812673 ns/op
Ops per second : 1230507083 op/s
-- Average runtime ratio --
Mine / Other's : 2.54694
Performance tests with inputs in high integral range:
-- My function --
Total time : 133293376 ns
Average runtime : 2.11577 ns/op
Ops per second : 472641641 op/s
-- Other function --
Total time : 56083578 ns
Average runtime : 0.890216 ns/op
Ops per second : 1123323479 op/s
-- Average runtime ratio --
Mine / Other's : 2.37669
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 114196574 ns
Average runtime : 2.79073 ns/op
Ops per second : 358329488 op/s
-- Other function --
Total time : 31822021 ns
Average runtime : 0.777664 ns/op
Ops per second : 1285901985 op/s
-- Average runtime ratio --
Mine / Other's : 3.5886
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 41742188 ns
Average runtime : 2.04019 ns/op
Ops per second : 490151594 op/s
-- Other function --
Total time : 16207438 ns
Average runtime : 0.792152 ns/op
Ops per second : 1262383357 op/s
-- Average runtime ratio --
Mine / Other's : 2.5755 </code></pre></details></li>
<li><details><summary>rintf16_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 231285686 ns
Average runtime : 2.85538 ns/op
Ops per second : 350216225 op/s
-- Other function --
Total time : 71324341 ns
Average runtime : 0.880547 ns/op
Ops per second : 1135657180 op/s
-- Average runtime ratio --
Mine / Other's : 3.24273
Performance tests with inputs in low integral range:
-- My function --
Total time : 345692302 ns
Average runtime : 2.74359 ns/op
Ops per second : 364485987 op/s
-- Other function --
Total time : 106089193 ns
Average runtime : 0.841978 ns/op
Ops per second : 1187679879 op/s
-- Average runtime ratio --
Mine / Other's : 3.25851
Performance tests with inputs in high integral range:
-- My function --
Total time : 146585734 ns
Average runtime : 2.32676 ns/op
Ops per second : 429782614 op/s
-- Other function --
Total time : 57535645 ns
Average runtime : 0.913264 ns/op
Ops per second : 1094973385 op/s
-- Average runtime ratio --
Mine / Other's : 2.54774
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 105839396 ns
Average runtime : 2.5865 ns/op
Ops per second : 386623521 op/s
-- Other function --
Total time : 32450480 ns
Average runtime : 0.793022 ns/op
Ops per second : 1260998296 op/s
-- Average runtime ratio --
Mine / Other's : 3.26157
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 54433594 ns
Average runtime : 2.66049 ns/op
Ops per second : 375870827 op/s
-- Other function --
Total time : 16221558 ns
Average runtime : 0.792843 ns/op
Ops per second : 1261284520 op/s
-- Average runtime ratio --
Mine / Other's : 3.35563 </code></pre></details></li>
<li><details><summary>rintf16_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 296323079 ns
Average runtime : 3.65831 ns/op
Ops per second : 273350291 op/s
-- Other function --
Total time : 71096436 ns
Average runtime : 0.877734 ns/op
Ops per second : 1139297615 op/s
-- Average runtime ratio --
Mine / Other's : 4.1679
Performance tests with inputs in low integral range:
-- My function --
Total time : 405748617 ns
Average runtime : 3.22023 ns/op
Ops per second : 310537102 op/s
-- Other function --
Total time : 107245768 ns
Average runtime : 0.851157 ns/op
Ops per second : 1174871534 op/s
-- Average runtime ratio --
Mine / Other's : 3.78335
Performance tests with inputs in high integral range:
-- My function --
Total time : 208071167 ns
Average runtime : 3.30272 ns/op
Ops per second : 302781019 op/s
-- Other function --
Total time : 56506022 ns
Average runtime : 0.896921 ns/op
Ops per second : 1114925414 op/s
-- Average runtime ratio --
Mine / Other's : 3.68228
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 170273845 ns
Average runtime : 4.16114 ns/op
Ops per second : 240318764 op/s
-- Other function --
Total time : 32363770 ns
Average runtime : 0.790903 ns/op
Ops per second : 1264376801 op/s
-- Average runtime ratio --
Mine / Other's : 5.26125
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 64244588 ns
Average runtime : 3.14001 ns/op
Ops per second : 318470405 op/s
-- Other function --
Total time : 16169352 ns
Average runtime : 0.790291 ns/op
Ops per second : 1265356830 op/s
-- Average runtime ratio --
Mine / Other's : 3.97323 </code></pre></details></li>
</li></ul></details>
</ul>
https://github.com/llvm/llvm-project/pull/98376
More information about the libc-commits
mailing list