{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/14822","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/14822/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/14822/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/14822/events","html_url":"https://github.com/sympy/sympy/issues/14822","id":334756356,"node_id":"MDU6SXNzdWUzMzQ3NTYzNTY=","number":14822,"title":"RisingFactorial cannot do numerical (floating point) evaluations","user":{"login":"cbm755","id":818622,"node_id":"MDQ6VXNlcjgxODYyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/818622?v=4","gravatar_id":"","url":"https://api.github.com/users/cbm755","html_url":"https://github.com/cbm755","followers_url":"https://api.github.com/users/cbm755/followers","following_url":"https://api.github.com/users/cbm755/following{/other_user}","gists_url":"https://api.github.com/users/cbm755/gists{/gist_id}","starred_url":"https://api.github.com/users/cbm755/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbm755/subscriptions","organizations_url":"https://api.github.com/users/cbm755/orgs","repos_url":"https://api.github.com/users/cbm755/repos","events_url":"https://api.github.com/users/cbm755/events{/privacy}","received_events_url":"https://api.github.com/users/cbm755/received_events","type":"User","site_admin":false},"labels":[{"id":75782144,"node_id":"MDU6TGFiZWw3NTc4MjE0NA==","url":"https://api.github.com/repos/sympy/sympy/labels/Easy%20to%20Fix","name":"Easy to Fix","color":"009800","default":false},{"id":655646384,"node_id":"MDU6TGFiZWw2NTU2NDYzODQ=","url":"https://api.github.com/repos/sympy/sympy/labels/floats","name":"floats","color":"0000FF","default":false},{"id":315103853,"node_id":"MDU6TGFiZWwzMTUxMDM4NTM=","url":"https://api.github.com/repos/sympy/sympy/labels/functions","name":"functions","color":"0000FF","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-06-22T06:02:29Z","updated_at":"2018-07-11T06:29:18Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\n>>> x = Float(S(2)/3, 32)\r\n>>> RisingFactorial(18, x)\r\nRisingFactorial(18, 0.66666666666666666666666666666667)\r\n>>> N(_)\r\nRisingFactorial(18, 0.66666666666666666666666666666667)\r\n>>> _.doit()\r\nRisingFactorial(18, 0.66666666666666666666666666666667)\r\n```\r\n\r\nExpected result: something like `6.82615401311257` (but with 32 digits).\r\n\r\n- - - - -\r\n\r\nThere is an `mpmath.rf` and it works fine.  I think its just not \"connected\" to sympy, perhaps because the names `rf` and `RisingFactorial` are different.\r\n\r\nSo probably this is an easy fix: find out how other special functions talk to `mpmath` and make it work for `RisingFactorial` (and `FallingFactorial` while you're at it)."},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/404059488","html_url":"https://github.com/sympy/sympy/issues/14822#issuecomment-404059488","issue_url":"https://api.github.com/repos/sympy/sympy/issues/14822","id":404059488,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDA1OTQ4OA==","user":{"login":"avishrivastava11","id":35996093,"node_id":"MDQ6VXNlcjM1OTk2MDkz","avatar_url":"https://avatars0.githubusercontent.com/u/35996093?v=4","gravatar_id":"","url":"https://api.github.com/users/avishrivastava11","html_url":"https://github.com/avishrivastava11","followers_url":"https://api.github.com/users/avishrivastava11/followers","following_url":"https://api.github.com/users/avishrivastava11/following{/other_user}","gists_url":"https://api.github.com/users/avishrivastava11/gists{/gist_id}","starred_url":"https://api.github.com/users/avishrivastava11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avishrivastava11/subscriptions","organizations_url":"https://api.github.com/users/avishrivastava11/orgs","repos_url":"https://api.github.com/users/avishrivastava11/repos","events_url":"https://api.github.com/users/avishrivastava11/events{/privacy}","received_events_url":"https://api.github.com/users/avishrivastava11/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T06:29:18Z","updated_at":"2018-07-11T06:29:18Z","author_association":"NONE","body":"@asmeurer @jksuom  \r\n>If mpmath already has a function for it then you should be able to just add it to the evalf_table.\r\n\r\nWhen I add it to the evalf_table, I would also be required to add the method corresponding to `rf` and `ff`, (as done with `bernoulli`, there is a method `evalf_bernoulli` added) ?\r\nOr should I just somehow direct it to the class `RisingFactorial` (and `FallingFactorial`) present in `factorials.py` ?"}}
{"actor":{"display_login":"avishrivastava11"}}