Skip to content

round(float, ndigits<0) sometimes rounds to odd #49723

@dingo

Description

@dingo
mannequin
BPO 5473
Nosy @mdickinson
Superseder
  • bpo-1869: Builtin round function is sometimes inaccurate for floats
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2009-03-13.22:37:29.964>
    created_at = <Date 2009-03-10.23:18:53.546>
    labels = ['interpreter-core', 'type-bug']
    title = 'round(float, ndigits<0) sometimes rounds to odd'
    updated_at = <Date 2009-03-13.22:37:29.962>
    user = 'https://bugs.python.org/dingo'

    bugs.python.org fields:

    activity = <Date 2009-03-13.22:37:29.962>
    actor = 'mark.dickinson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-03-13.22:37:29.964>
    closer = 'mark.dickinson'
    components = ['Interpreter Core']
    creation = <Date 2009-03-10.23:18:53.546>
    creator = 'dingo'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 5473
    keywords = []
    message_count = 5.0
    messages = ['83450', '83459', '83463', '83473', '83539']
    nosy_count = 2.0
    nosy_names = ['mark.dickinson', 'dingo']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '1869'
    type = 'behavior'
    url = 'https://bugs.python.org/issue5473'
    versions = ['Python 3.0', 'Python 3.1']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions