Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returning a float via a method yields in an approximate value received #68918

Closed
terminadoru mannequin opened this issue Jul 26, 2015 · 2 comments
Closed

Returning a float via a method yields in an approximate value received #68918

terminadoru mannequin opened this issue Jul 26, 2015 · 2 comments
Labels
OS-mac type-bug An unexpected behavior, bug, or error

Comments

@terminadoru
Copy link
Mannequin

terminadoru mannequin commented Jul 26, 2015

BPO 24730
Nosy @ronaldoussoren, @ned-deily, @zware
Files
  • recursive.py
  • 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-07-26.17:48:01.750>
    created_at = <Date 2015-07-26.17:43:12.035>
    labels = ['OS-mac', 'type-bug', 'invalid']
    title = 'Returning a float via a method yields in an approximate value received'
    updated_at = <Date 2015-07-26.17:48:01.748>
    user = 'https://bugs.python.org/terminadoru'

    bugs.python.org fields:

    activity = <Date 2015-07-26.17:48:01.748>
    actor = 'zach.ware'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-07-26.17:48:01.750>
    closer = 'zach.ware'
    components = ['macOS']
    creation = <Date 2015-07-26.17:43:12.035>
    creator = 'terminadoru'
    dependencies = []
    files = ['40034']
    hgrepos = []
    issue_num = 24730
    keywords = []
    message_count = 2.0
    messages = ['247444', '247445']
    nosy_count = 4.0
    nosy_names = ['ronaldoussoren', 'ned.deily', 'zach.ware', 'terminadoru']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24730'
    versions = ['Python 2.7']

    @terminadoru
    Copy link
    Mannequin Author

    terminadoru mannequin commented Jul 26, 2015

    I was making a script to get some best configurations in a recursive manner when I noticed a weird result. In the attached script the method should return 1.3 but it received 1.2999999997

    @terminadoru terminadoru mannequin added OS-mac type-bug An unexpected behavior, bug, or error labels Jul 26, 2015
    @zware
    Copy link
    Member

    zware commented Jul 26, 2015

    @zware zware closed this as completed Jul 26, 2015
    @zware zware added the invalid label Jul 26, 2015
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    OS-mac type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant