{"action":"created","issue":{"url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/3833","repository_url":"https://api.github.com/repos/ArduPilot/ardupilot","labels_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/3833/labels{/name}","comments_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/3833/comments","events_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/3833/events","html_url":"https://github.com/ArduPilot/ardupilot/pull/3833","id":144743729,"number":3833,"title":"cmath: start using it v2","user":{"login":"ricardotk","id":3178975,"avatar_url":"https://avatars.githubusercontent.com/u/3178975?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardotk","html_url":"https://github.com/ricardotk","followers_url":"https://api.github.com/users/ricardotk/followers","following_url":"https://api.github.com/users/ricardotk/following{/other_user}","gists_url":"https://api.github.com/users/ricardotk/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardotk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardotk/subscriptions","organizations_url":"https://api.github.com/users/ricardotk/orgs","repos_url":"https://api.github.com/users/ricardotk/repos","events_url":"https://api.github.com/users/ricardotk/events{/privacy}","received_events_url":"https://api.github.com/users/ricardotk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-30T23:01:26Z","updated_at":"2016-03-31T12:43:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/3833","html_url":"https://github.com/ArduPilot/ardupilot/pull/3833","diff_url":"https://github.com/ArduPilot/ardupilot/pull/3833.diff","patch_url":"https://github.com/ArduPilot/ardupilot/pull/3833.patch"},"body":"Changes from v1:\r\n    - changed `#ifdef` check from private guard used by glibcxx to waf build system parameter check.\r\n\r\nThese series swaps math.h usage to cmath usage.\r\n\r\nIt all started with an update on ArchLinux that broke ArduPilot build for me, the fix was to put `std::` in front of `isnan()`, `isinf()` and `isfinite()`. But I decided to send a better fix here.\r\n\r\nFlash size before:\r\n\r\n| text | data | bss | dec | hex | filename\r\n|----- | ------ | ---- | ----- | ----- | ---------- |\r\n|972588    |2820   |57116 |1032524 |  fc14c | master\r\n\r\nFlash size after:\r\n\r\n| text | data | bss | dec | hex | filename\r\n|----- | ------ | ---- | ----- | ----- | ---------- |\r\n| 972628   | 2820   | 57132 | 1032580 |  fc184 | cmath\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/comments/203915999","html_url":"https://github.com/ArduPilot/ardupilot/pull/3833#issuecomment-203915999","issue_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/3833","id":203915999,"user":{"login":"dgrat","id":4668178,"avatar_url":"https://avatars.githubusercontent.com/u/4668178?v=3","gravatar_id":"","url":"https://api.github.com/users/dgrat","html_url":"https://github.com/dgrat","followers_url":"https://api.github.com/users/dgrat/followers","following_url":"https://api.github.com/users/dgrat/following{/other_user}","gists_url":"https://api.github.com/users/dgrat/gists{/gist_id}","starred_url":"https://api.github.com/users/dgrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgrat/subscriptions","organizations_url":"https://api.github.com/users/dgrat/orgs","repos_url":"https://api.github.com/users/dgrat/repos","events_url":"https://api.github.com/users/dgrat/events{/privacy}","received_events_url":"https://api.github.com/users/dgrat/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T12:43:26Z","updated_at":"2016-03-31T12:43:26Z","body":"It would also make my life easier, because for subsequent changes, we only need to change the library. "}}