Skip to content

math.log(x, 10) gives different result than math.log10(x) #47974

@segfaulthunter

Description

@segfaulthunter
BPO 3724
Nosy @rhettinger, @terryjreedy, @mdickinson, @vstinner
Files
  • log.patch: Internally use math.log10 when math.log gets the base 10 to improve accuracy and performance.
  • math_doc.patch: Documentation tweak.
  • 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 = 'https://github.com/mdickinson'
    closed_at = <Date 2008-12-05.21:47:35.319>
    created_at = <Date 2008-08-29.12:32:07.135>
    labels = ['type-bug']
    title = 'math.log(x, 10) gives different result than math.log10(x)'
    updated_at = <Date 2009-09-01.09:58:50.177>
    user = 'https://bugs.python.org/segfaulthunter'

    bugs.python.org fields:

    activity = <Date 2009-09-01.09:58:50.177>
    actor = 'terry.reedy'
    assignee = 'mark.dickinson'
    closed = True
    closed_date = <Date 2008-12-05.21:47:35.319>
    closer = 'mark.dickinson'
    components = []
    creation = <Date 2008-08-29.12:32:07.135>
    creator = 'segfaulthunter'
    dependencies = []
    files = ['11310', '11362']
    hgrepos = []
    issue_num = 3724
    keywords = ['patch']
    message_count = 12.0
    messages = ['72129', '72389', '72398', '72423', '74349', '74578', '74584', '74630', '74734', '74738', '77077', '92139']
    nosy_count = 5.0
    nosy_names = ['rhettinger', 'terry.reedy', 'mark.dickinson', 'vstinner', 'segfaulthunter']
    pr_nums = []
    priority = 'normal'
    resolution = 'rejected'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3724'
    versions = ['Python 2.6']

    Metadata

    Metadata

    Assignees

    Labels

    type-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions