FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Wrong overloading selected · Issue #131 · pythonnet/pythonnet · GitHub

Repository navigation

Wrong overloading selected #131

Closed
Closed

Description

This bug is actually very bad:

>>> import System
>>> System.Math.Abs(42.5)
42L
>>> System.Math.Abs(42.55)
42L

submitted by @antocuni on:

http://sourceforge.net/p/pythonnet/bugs/5/

Activity

  1. den-run-ai commented on Feb 9, 2016

    ContributorAuthor

    the patch #137 works with following expressions in Python:

    System.Math.Abs(-50.5) # 50.5
    System.Math.Max(50.5,50.1) # 50.5
    System.Math.Max(System.Double(10.5),System.Double(15.5)) # 15.5
    System.Math.Max(System.Double(50.5),50.1) # 50.5
    
  2. added 2 commits that reference this issue on Feb 15, 2016
    956e888
    8386aa0
  3. added a commit that references this issue on Feb 14, 2017
  4. added a commit that references this issue on Jun 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL