{"action":"closed","issue":{"url":"https://api.github.com/repos/postcss/postcss-calc/issues/8","repository_url":"https://api.github.com/repos/postcss/postcss-calc","labels_url":"https://api.github.com/repos/postcss/postcss-calc/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss-calc/issues/8/comments","events_url":"https://api.github.com/repos/postcss/postcss-calc/issues/8/events","html_url":"https://github.com/postcss/postcss-calc/issues/8","id":68498008,"node_id":"MDU6SXNzdWU2ODQ5ODAwOA==","number":8,"title":"Support exponential math operations","user":{"login":"teddybradford","id":3684553,"node_id":"MDQ6VXNlcjM2ODQ1NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3684553?v=4","gravatar_id":"","url":"https://api.github.com/users/teddybradford","html_url":"https://github.com/teddybradford","followers_url":"https://api.github.com/users/teddybradford/followers","following_url":"https://api.github.com/users/teddybradford/following{/other_user}","gists_url":"https://api.github.com/users/teddybradford/gists{/gist_id}","starred_url":"https://api.github.com/users/teddybradford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teddybradford/subscriptions","organizations_url":"https://api.github.com/users/teddybradford/orgs","repos_url":"https://api.github.com/users/teddybradford/repos","events_url":"https://api.github.com/users/teddybradford/events{/privacy}","received_events_url":"https://api.github.com/users/teddybradford/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-04-14T21:11:19Z","updated_at":"2018-10-15T16:30:55Z","closed_at":"2018-10-15T16:30:55Z","author_association":"NONE","body":"Has there been any discussion about including support for more advanced math operations such as exponents? For example: `calc(2 ^ 3)` or `calc(var(--x) ^ 3)`.\n\nExponents are extremely useful for setting up things like modular scales. However, right now you have to multiply long strings of variables together to achieve the same result, e.g., `calc(2 * var(--y) * var(--y) * var(--y) * var(--y))`. As you can see, it can get quite tedious. Ideally I would prefer to write something like `calc(2 * var(--y) ^ 4)` instead.\n\nWhat are your thoughts on implementing support for exponents?\n"}}
{"actor":{"display_login":"andyjansson"}}