{"id":16548951,"url":"https://github.com/locksten/calc","last_synced_at":"2026-04-12T23:02:01.779Z","repository":{"id":23815105,"uuid":"27191645","full_name":"locksten/calc","owner":"locksten","description":null,"archived":false,"fork":false,"pushed_at":"2015-02-12T11:05:30.000Z","size":188,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T16:53:29.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/locksten.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-26T18:59:17.000Z","updated_at":"2021-05-19T17:47:54.000Z","dependencies_parsed_at":"2022-08-22T05:31:22.031Z","dependency_job_id":null,"html_url":"https://github.com/locksten/calc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locksten%2Fcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locksten%2Fcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locksten%2Fcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locksten%2Fcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/locksten","download_url":"https://codeload.github.com/locksten/calc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241858008,"owners_count":20032049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T19:27:39.058Z","updated_at":"2026-04-12T23:02:01.680Z","avatar_url":"https://github.com/locksten.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"calc\n====\n\nReads a mathematical expression from stdin, outputs the rezult to stdout\n\nSupported operators / functions\n====\n\n|                        |\n|------------------------|\n|  + - * / ^ %           |\n|  sqrt  ln  lb  lg      |\n|  cos  sin  tan         |\n|  acos  asin  atan      |\n|  abs  floor  ceil      |\n|  e  pi  tau            |\n\nExamples\n====\n\n```mathematica\n    10^3 + 9^3\n    \u003e 1729\n```\n\n```mathematica\n    (1 + sqrt(5)) / 2\n    \u003e 1.61803\n```\n\n```mathematica\n    (4 * atan(1/5) - atan(1/239)) * 8 / tau()\n    \u003e 1\n```\n\n```mathematica\n    sqrt(ceil((3 - sqrt(5)) * 1000))\n    \u003e 27.6405\n```\n\nBuilding\n====\n\n```sh\n    cd calc\n    mkdir bin\n    cd bin\n    cmake ..\n    make\n    ./src/calc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocksten%2Fcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocksten%2Fcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocksten%2Fcalc/lists"}