{"action":"opened","issue":{"url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/15","labels_url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/15/comments","events_url":"https://api.github.com/repos/grzegorzmazur/migration_test/issues/15/events","html_url":"https://github.com/grzegorzmazur/migration_test/issues/15","id":97025293,"number":15,"title":"Sign(x)^2 simplifies to 1","user":{"login":"grzegorzmazur","id":8030816,"avatar_url":"https://avatars.githubusercontent.com/u/8030816?v=3","gravatar_id":"","url":"https://api.github.com/users/grzegorzmazur","html_url":"https://github.com/grzegorzmazur","followers_url":"https://api.github.com/users/grzegorzmazur/followers","following_url":"https://api.github.com/users/grzegorzmazur/following{/other_user}","gists_url":"https://api.github.com/users/grzegorzmazur/gists{/gist_id}","starred_url":"https://api.github.com/users/grzegorzmazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzegorzmazur/subscriptions","organizations_url":"https://api.github.com/users/grzegorzmazur/orgs","repos_url":"https://api.github.com/users/grzegorzmazur/repos","events_url":"https://api.github.com/users/grzegorzmazur/events{/privacy}","received_events_url":"https://api.github.com/users/grzegorzmazur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-24T10:49:17Z","updated_at":"2015-07-24T10:49:17Z","closed_at":null,"body":"**Reported by jlherren on 2011-11-20 12:55 UTC**\nIn&gt; Sign(0)  \nOut&gt; 0  \nIn&gt; Sign(x)2  \nOut&gt; 1  \n\n\nObviously the second simplification is wrong, since x could be zero. Using yacas 1.2.2.  \n\n\n* * *\n\nComment by hmatuschek:  \n\n\nI think the problem is in stubs.rep/code.ys. Here is a patch that worked  \nfor me.  \n\n\n*** code.ys 2009-10-24 19:35:09.000000000 +0200  \n\\--- code.ys 2009-10-24 19:36:04.000000000 +0200  \n***************  \n*** 256,262 ****  \n15 # Sign(n_IsNumber/m_IsNumber) &lt;\\-- Sign(n)*Sign(m);  \n20 # Sign(n_IsList) &lt;\\-- MapSingle(\"Sign\",n);  \n\n\n! 100 # Sign(_a)n_IsEven &lt;\\-- 1;  \n100 # Sign(_a)n_IsOdd &lt;\\-- Sign(a);  \n\n\n5 # Floor(Infinity) &lt;\\-- Infinity;  \n\\--- 256,262 ----  \n15 # Sign(n_IsNumber/m_IsNumber) &lt;\\-- Sign(n)*Sign(m);  \n20 # Sign(n_IsList) &lt;\\-- MapSingle(\"Sign\",n);  \n\n\n! 100 # Sign(a_IsNonZero)n_IsEven &lt;\\-- 1;  \n100 # Sign(_a)n_IsOdd &lt;\\-- Sign(a);  \n\n\n5 # Floor(Infinity) &lt;\\-- Infinity;  \n\n\n* * *\n\nMoved from SF: 2033189  \n\n"}}