Skip to content

float('nan') returns 0.0 on Python compiled with icc #65366

@hniksic

Description

@hniksic
mannequin
BPO 21167
Nosy @mdickinson, @larryhastings, @hniksic, @bitdancer
Dependencies
  • bpo-21121: -Werror=declaration-after-statement is added even for extension modules through setup.py
  • Files
  • intel-nan.diff: Patch implementing alternative NaN definition under icc
  • intel-nan-safe.patch: Patch for safe NaN with FP optimizations
  • 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 2015-08-25.01:15:40.437>
    created_at = <Date 2014-04-07.10:02:32.170>
    labels = ['interpreter-core', 'type-bug']
    title = "float('nan') returns 0.0 on Python compiled with icc"
    updated_at = <Date 2015-08-25.21:35:25.618>
    user = 'https://github.com/hniksic'

    bugs.python.org fields:

    activity = <Date 2015-08-25.21:35:25.618>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-08-25.01:15:40.437>
    closer = 'r.david.murray'
    components = ['Interpreter Core']
    creation = <Date 2014-04-07.10:02:32.170>
    creator = 'hniksic'
    dependencies = ['21121']
    files = ['34746', '40162']
    hgrepos = []
    issue_num = 21167
    keywords = ['patch']
    message_count = 31.0
    messages = ['215687', '215689', '215692', '215698', '215700', '215701', '215703', '215705', '215706', '215707', '216454', '216468', '216583', '216584', '219027', '236244', '236245', '248407', '248410', '248424', '248469', '248478', '248483', '248484', '248519', '248520', '248521', '248549', '248666', '249079', '249164']
    nosy_count = 8.0
    nosy_names = ['mark.dickinson', 'larry', 'hniksic', 'r.david.murray', 'python-dev', 'jbradaric', 'Scholes.C', 'christopher.hogan']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue21167'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']

    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