{ "info": { "author": "David Maust", "author_email": "david@dmaust.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License" ], "description": "rounding\n========\n\nRounding methods\n\n`StandardRound` rounds to the nearest, and in the event of a tie, rounds up.\n\n`RoundToEven` rounds to the nearest, but in the event of a tie, rounds toward \nthe nearest even number.\n\n`StochasticRound` provides a mechanism to eliminate accumulated\nroundoff error in the presence of a distribution where for \nindividual samples, the roundoff error is skewed. This is typically\ncaused by small values. This may be a common problem when dealing with applying a\nfunction to many small integer values as the number of discreet inputs is small.\n\nOne drawback to stochastic rounding is the output is non-deterministic,\nbut this can be avoided by providing a custom deterministic generator, \nor invoking providing the random number generator with a fixed seed.\n\n.. code:: python\n \n r = random.Random()\n r.seed(123)\n sr = StochasticRound(precision=0, random_generator=r)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://dmaust.github.io/rounding/", "keywords": null, "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "rounding", "package_url": "https://pypi.org/project/rounding/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rounding/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://dmaust.github.io/rounding/" }, "release_url": "https://pypi.org/project/rounding/0.4/", "requires_dist": null, "requires_python": null, "summary": "Variety of rounding methods and implementations", "version": "0.4" }, "last_serial": 2197017, "releases": { "0.01": [ { "comment_text": "", "digests": { "md5": "e6d59c30ad9cc8c3d49fbeb2b96ecc56", "sha256": "75ea9e41188788bb5f6f492f70f1fc3c43a651d40c873aeaca50b5ce349d208a" }, "downloads": -1, "filename": "rounding-0.01.tar.gz", "has_sig": false, "md5_digest": "e6d59c30ad9cc8c3d49fbeb2b96ecc56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1338, "upload_time": "2013-09-22T09:22:42", "url": "https://files.pythonhosted.org/packages/3b/5e/ec9fc157155630965b791f0ac479d6353fb170e8795ba7e453c770b147b4/rounding-0.01.tar.gz" } ], "0.02": [ { "comment_text": "", "digests": { "md5": "0d150190d374946578e2ab8b11e92f33", "sha256": "6e578341cbb9bdbc85369d671bcc63ad3c384a2793833f9d9a73203a69764ac1" }, "downloads": -1, "filename": "rounding-0.02.tar.gz", "has_sig": false, "md5_digest": "0d150190d374946578e2ab8b11e92f33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1911, "upload_time": "2013-10-05T17:40:39", "url": "https://files.pythonhosted.org/packages/25/6d/da72f7916728c0c534f8604f363d21828fccf9a6745f2112c7109559a26c/rounding-0.02.tar.gz" } ], "0.03": [ { "comment_text": "", "digests": { "md5": "dc06ea90e9ba81196735b0824ad3ec82", "sha256": "72d6efdc1184ccb1104526ffe25445c3ab848e6a3af9a6797e370f22aa5f3b57" }, "downloads": -1, "filename": "rounding-0.03.tar.gz", "has_sig": false, "md5_digest": "dc06ea90e9ba81196735b0824ad3ec82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2750, "upload_time": "2013-10-13T04:52:40", "url": "https://files.pythonhosted.org/packages/d9/b3/038d0fa9084c4776e464efd10023e64581f90425e8d68564102349fc1a3b/rounding-0.03.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "6eb90ca395157b9b8825df2bb3cfa935", "sha256": "a71f3bd0d67558b0e71eb65c870c4ca9bb8f7c85f1607715f4197d010dc3968f" }, "downloads": -1, "filename": "rounding-0.4.tar.gz", "has_sig": false, "md5_digest": "6eb90ca395157b9b8825df2bb3cfa935", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2838, "upload_time": "2016-06-30T23:44:08", "url": "https://files.pythonhosted.org/packages/a1/eb/eda05aec16c32631a4a66711e697fccfb9267ee11bf16dd90a0567087a6b/rounding-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6eb90ca395157b9b8825df2bb3cfa935", "sha256": "a71f3bd0d67558b0e71eb65c870c4ca9bb8f7c85f1607715f4197d010dc3968f" }, "downloads": -1, "filename": "rounding-0.4.tar.gz", "has_sig": false, "md5_digest": "6eb90ca395157b9b8825df2bb3cfa935", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2838, "upload_time": "2016-06-30T23:44:08", "url": "https://files.pythonhosted.org/packages/a1/eb/eda05aec16c32631a4a66711e697fccfb9267ee11bf16dd90a0567087a6b/rounding-0.4.tar.gz" } ] }