{"id":20614330,"url":"https://github.com/imengyu/calc","last_synced_at":"2025-09-10T01:36:42.540Z","repository":{"id":141057118,"uuid":"137146125","full_name":"imengyu/Calc","owner":"imengyu","description":"C# 自动算式计算器 - A automatic calculator in CSharp","archived":false,"fork":false,"pushed_at":"2018-07-09T08:22:17.000Z","size":108,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T18:49:33.932Z","etag":null,"topics":["calc","calculator","csharp"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imengyu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-13T01:24:32.000Z","updated_at":"2023-12-25T15:22:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b3f2acc-7659-49a5-a210-026e4753849d","html_url":"https://github.com/imengyu/Calc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imengyu/Calc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imengyu%2FCalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imengyu%2FCalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imengyu%2FCalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imengyu%2FCalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imengyu","download_url":"https://codeload.github.com/imengyu/Calc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imengyu%2FCalc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274396674,"owners_count":25277395,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["calc","calculator","csharp"],"created_at":"2024-11-16T11:12:29.102Z","updated_at":"2025-09-10T01:36:42.497Z","avatar_url":"https://github.com/imengyu.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Calc\nC# 自动算式计算器 A automatic calculator in CSharp\n***\n简介 Introduction\n-------\n这是一个可以根据用户输入算式而自动计算出结果的软件。\u003c/br\u003e\n\u003c/br\u003e\n目前支持实数范围内的计算，支持的运算包括：加法（+），减法（-），乘法（\\*或×），除法（/或÷），幂运算（^），阶乘（!）。\n\u003c/br\u003e\n软件支持数学函数，包括：正弦，余弦，正切，对数，比如sin(90)=1 (角度)。支持上述运算的混合运算。\n\u003c/br\u003e\n软件支持多级括号嵌套，比如3\\*(2+(3-6)\\*2) 先计算3-6=-3，再计算-3\\*2=-6，再计算2+-6=-4，再计算3\\*-4=-12\n\u003c/br\u003e\n\u003c/br\u003e\nThis is a software that can automatically calculate the result based on user input formula.\u003c/br\u003e\n\u003c/br\u003e\nIt is currently supporting the calculation within the range of real numbers, and the operations supported include addition (+), subtraction (-), multiplication (* or x), division (/ or ÷), power operation (^), factorial (!).\n\u003c/br\u003e\nIt also supports mathematical functions, including sine, cosine, tangent, logarithm, such as sin(90)=1 (angle). A hybrid operation that supports the above operations.\n\u003c/br\u003e\nSoftware supports multi-level nesting brackets, for example, 3* (2+ (3-6) *2) first calculates 3-6=-3, then calculates -3*2=-6, and then calculates 2+-6=-4, at last calculates 3*-4=-12.\n\u003c/br\u003e\n\n***\n编译 Compile\n-------\n请使用Visual studio 2017及以上编辑\n\u003c/br\u003e\nTo compile it, at least you need to use Visual studio 2017。\n\n***\n源码 Source Code\n-------\n计算主模块在[AutoCalc.cs](https://github.com/717021/Calc/blob/master/AutoCalc.cs)中。\n\u003c/br\u003e\nThe main module is [AutoCalc.cs](https://github.com/717021/Calc/blob/master/AutoCalc.cs).\n***\n作者\n-------\nq717021\n\u003c/br\u003e\nqq:1501076885\n\u003c/br\u003e\n1501076885@qq.com\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimengyu%2Fcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimengyu%2Fcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimengyu%2Fcalc/lists"}