calc icon indicating copy to clipboard operation
calc copied to clipboard

twice action when using @ operator at version 0.3.0

Open sv-atoslav opened this issue 1 year ago • 0 comments

my program and OS versions

$calc --version
calc 0.3.0
$lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.1 LTS
Release:	22.04
Codename:	jammy

steps to reproduce 1

$calc --i64
[1]: 528500/100
5285
[2]: @/2
1321
[3]: 5285/2
2642
[4]:
Error: Interrupted

steps to reproduce 2

$calc --u64
[0]: 2+2*2
6
[1]: @*100
60000
[2]: @*-1
operation `-` not implemented for u64
[2]: @*2
2400
[3]: @+1
1202
[4]:
Error: Interrupted

steps to reproduce 3

[0]: 0.1+0.2
.30000000000000004 (skip, because https://0.30000000000000004.com/ )
[1]: @+0.003
.30600000000000005
[2]: @+0.0001
.3032
[3]: 
Error: Interrupted

sv-atoslav avatar Aug 04 '22 22:08 sv-atoslav