elementary / elementary/calculator

Invalid results when using big numbers

Open
#46 3 comments 0 reactions 0 assignees View on GitHub
Status: Confirmed
Dominant language
Vala
Stars
83
Forks
32
Avg merge
2d 3h
Merged PRs (30d)
3

Description

Hello,
Although there's no size limit for entered numbers, the result wrong for big numbers.
3 examples :+1:
11111111111111111-1 = 11111111111111112
777777777777777777+1 = 777777777777777792 !
777777777777777777-1 = 777777777777777792 ?!
Tested on elementaryOS Loki with various kernels (4.4.0-104-generic and 4.13.10-041310-generic)
[INFO 14:26:07.508519] Application.vala:154: Calculatrice version: 0.1.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.