![]() |
Round, With Ties to Even - Cleve Moler on Mathematics and Computing
[IMG]http://blogs.mathworks.com/cleve/files/rounds.png[/IMG]
We are considering a MATLAB Enhancement Request to support options for round(x) when x is exactly halfway between two integers. Contents[URL="https://www.labfans.com/bbs/admincp/#efc77c0b-cbb6-4621-9b3f-270c71e48100"]Classic round[/URL][URL="https://www.labfans.com/bbs/admincp/#ae32c2af-7926-4bef-a2e7-afce1a265657"]roundoff[/URL][URL="https://www.labfans.com/bbs/admincp/#2733a2a7-1371-46f5-b406-c5e6ab9050b6"]flints[/URL][URL="https://www.labfans.com/bbs/admincp/#b656360e-a4a6-46c9-b93e-1c8e53c62299"]round[/URL][URL="https://www.labfans.com/bbs/admincp/#348cbbe7-0ffc-4bd3-ad65-5b3f1dc63634"]test round[/URL][URL="https://www.labfans.com/bbs/admincp/#8dcf7272-41cb-48e9-908d-0ddb470262fc"]cities[/URL][URL="https://www.labfans.com/bbs/admincp/#156306c1-1c95-4844-9d56-13a855821010"]IEEE 754[/URL][URL="https://www.labfans.com/bbs/admincp/#d3dcbc9e-83a3-4d9a-9381-1ddca306b0b3"]Which?[/URL]Classic roundThe Classic MATLAB calculator was written in Fortran forty years ago, before IEEE 754 and before MathWorks. It had only 71 functions and it was not easy to add more. But one of those functions was ROUND. The help entry had only one sentence. ROUND ROUND(X) rounds the elements of X to the nearest ...[URL="https://blogs.mathworks.com/cleve/?p=6740"]read more >>[/URL] [IMG]http://feeds.feedburner.com/~r/mathworks/moler/~4/p2Fn0RJeZco[/IMG] [url=http://feedproxy.google.com/~r/mathworks/moler/~3/p2Fn0RJeZco/]More...[/url] |
所有时间均为北京时间。现在的时间是 23:19。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.