{"id":29122360,"url":"https://github.com/tina-1300/charly","last_synced_at":"2025-09-11T14:02:34.654Z","repository":{"id":301921992,"uuid":"988038529","full_name":"Tina-1300/Charly","owner":"Tina-1300","description":"Charly is a modern, powerful and easy-to-use C++ library for handling mathematics.","archived":false,"fork":false,"pushed_at":"2025-06-29T15:42:41.000Z","size":2825,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T16:38:01.089Z","etag":null,"topics":["cpp","cpp-programming","cpp20","cpp20-library","fraction","fractions","library","math","mathematica","mathematics","maths","simple","static"],"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/Tina-1300.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-22T00:58:45.000Z","updated_at":"2025-06-29T15:49:03.000Z","dependencies_parsed_at":"2025-06-29T16:50:09.678Z","dependency_job_id":null,"html_url":"https://github.com/Tina-1300/Charly","commit_stats":null,"previous_names":["tina-1300/charly"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Tina-1300/Charly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tina-1300%2FCharly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tina-1300%2FCharly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tina-1300%2FCharly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tina-1300%2FCharly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tina-1300","download_url":"https://codeload.github.com/Tina-1300/Charly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tina-1300%2FCharly/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262632339,"owners_count":23340219,"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":["cpp","cpp-programming","cpp20","cpp20-library","fraction","fractions","library","math","mathematica","mathematics","maths","simple","static"],"created_at":"2025-06-29T17:12:54.182Z","updated_at":"2025-06-29T17:12:54.874Z","avatar_url":"https://github.com/Tina-1300.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Charly\n\nCharly is a modern, powerful and easy-to-use C++ library for handling mathematics.\n\n\n## Use 🚀\n\n\n```cpp\n#include \u003ciostream\u003e\n#include \u003cCharly/Fraction.hpp\u003e\n\n// g++ -O2 -Wall -Wextra -o test_fraction.exe test_fraction.cpp -lCharly\n\nusing namespace Charly;\n\nint main(){\n\n    Fraction f1(1, 2); // 1/2\n    Fraction f2(3, 4); // 3/4\n    Fraction f3(5, 3); // 5/3\n    Fraction f4(12, 7); // 12/7\n\n    Fraction sum = f1 + f2 + f2 - f3 * f2 / f4;\n    \n    if(f1 == f3){\n        std::cout \u003c\u003c \"True\" \u003c\u003c \"\\n\";\n    }else{\n        std::cout \u003c\u003c \"False\" \u003c\u003c \"\\n\";\n    }\n\n    if(f1 \u003c f2){\n        std::cout \u003c\u003c \"True\" \u003c\u003c \"\\n\";\n    }\n\n    if(f1 != f2){\n        std::cout \u003c\u003c \"True\" \u003c\u003c \"\\n\";\n    }\n\n    if(f1 \u003c= f2 \u0026\u0026 f1 \u003c= f1){\n        std::cout \u003c\u003c \"True\" \u003c\u003c \"\\n\";\n    }\n\n    if(f2 \u003e f1){\n        std::cout \u003c\u003c \"True\" \u003c\u003c \"\\n\";\n    }\n\n    if (f2 \u003e= f1 \u0026\u0026 f2 \u003e= f2){\n        std::cout \u003c\u003c \"True\" \u003c\u003c \"\\n\";\n    }\n\n    std::cout \u003c\u003c f1 \u003c\u003c \"\\n\";\n\n    std::cout \u003c\u003c f1.to_decimal\u003cdouble\u003e() \u003c\u003c \"\\n\"; // converting fraction to decimal value\n\n    sum.reduction(true); // reduce the fraction\n    sum.print(); // show result\n\n\n    std::cin.get(); // wait for a key press to exit\n    \n    return 0;\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftina-1300%2Fcharly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftina-1300%2Fcharly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftina-1300%2Fcharly/lists"}