Title: division by zero exception · Issue #63 · kframework/java-semantics · GitHub
Open Graph Title: division by zero exception · Issue #63 · kframework/java-semantics
X Title: division by zero exception · Issue #63 · kframework/java-semantics
Description: I noticed that kjtest.sh produces a generator error, when a division by zero is performed, which makes it really difficult to find the problem. Would it be possible that kjtest checks, if the same exception is produced by Java? int a =0;...
Open Graph Description: I noticed that kjtest.sh produces a generator error, when a division by zero is performed, which makes it really difficult to find the problem. Would it be possible that kjtest checks, if the same ...
X Description: I noticed that kjtest.sh produces a generator error, when a division by zero is performed, which makes it really difficult to find the problem. Would it be possible that kjtest checks, if the same ...
Opengraph URL: https://github.com/kframework/java-semantics/issues/63
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"division by zero exception","articleBody":"I noticed that kjtest.sh produces a generator error, when a division by zero is performed, which makes it really difficult to find the problem. Would it be possible that kjtest checks, if the same exception is produced by Java?\r\n```\r\nint a =0;\r\nint b = 234;\r\nint c = b / a;\r\nSystem.out.println(\"\"+c);\r\n```\r\n\r\nMoreover, in some cases K-Java reports a division by zero exception, even though it should not, since the result should be Infinity, when the computation is done with doubles or floats.\r\n```\r\nint a =0;\r\ndouble b = 234;\r\ndouble c = b / a;\r\nSystem.out.println(\"\"+c);\r\n```","author":{"url":"https://github.com/rschumi0","@type":"Person","name":"rschumi0"},"datePublished":"2020-03-01T00:55:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/63/java-semantics/issues/63"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f4a49a29-71e5-f48a-8446-654e09399b2e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9AB0:32ECD5:D762B:11EAEE:69718BD8 |
| html-safe-nonce | 451a6eb32dedaf1638e9c31aa0fc86a9fc38887322fe980ba7803537d03d0ed0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUIwOjMyRUNENTpENzYyQjoxMUVBRUU6Njk3MThCRDgiLCJ2aXNpdG9yX2lkIjoiMjcwMTE3Mzc0Mzg5NDQ5ODI2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9cf8f67d29a839e26e42de5fdc670af67a0c27c20e01835a77f55837eebf7c42 |
| hovercard-subject-tag | issue:573447383 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/kframework/java-semantics/63/issue_layout |
| twitter:image | https://opengraph.githubassets.com/edc6643836ea16b33500ddf2ceca6110ec6aaab4d431ccdeedf484fe691a22e5/kframework/java-semantics/issues/63 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/edc6643836ea16b33500ddf2ceca6110ec6aaab4d431ccdeedf484fe691a22e5/kframework/java-semantics/issues/63 |
| og:image:alt | I noticed that kjtest.sh produces a generator error, when a division by zero is performed, which makes it really difficult to find the problem. Would it be possible that kjtest checks, if the same ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rschumi0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2b0f2f00499ad3dd2c21ad030a3c403edca54df20ea256f6517c6d8c4fa3a1a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/kframework/java-semantics git https://github.com/kframework/java-semantics.git |
| octolytics-dimension-user_id | 5104335 |
| octolytics-dimension-user_login | kframework |
| octolytics-dimension-repository_id | 11711471 |
| octolytics-dimension-repository_nwo | kframework/java-semantics |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 11711471 |
| octolytics-dimension-repository_network_root_nwo | kframework/java-semantics |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 67235153f3c1514ed5f7dc469f138abc377bd388 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width