flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > Calculator project Goto page Previous 1, 2, 3 Next |
Author |
|
vid 16 Jan 2008, 05:31
also this doen't work:
1.343454e-9+1.5e-9 |
|||
16 Jan 2008, 05:31 |
|
codegrinder 16 Jan 2008, 06:39
vid wrote: - "-1e-5" doesn't work... Fixed. vid wrote: - is "sin(pi)" supposed to be "0.049327995502523812" ? not sure, it's been some time... Made radians mode by default. vid wrote: - add description of function arguments Added.
|
|||||||||||
16 Jan 2008, 06:39 |
|
codegrinder 16 Jan 2008, 06:40
vid wrote: also this doen't work: Last changes fixed this. |
|||
16 Jan 2008, 06:40 |
|
codegrinder 16 Jan 2008, 06:45
edfed wrote: key grid is like the windows calculator I plan to add keys and scrolling is also interesting idea but right now I'd like to have tested evaluations. Anyway thanks, I'll have you suggestion in mind. |
|||
16 Jan 2008, 06:45 |
|
vid 16 Jan 2008, 18:42
this doesn't work either: "1.11111111111111111111111111111"
|
|||
16 Jan 2008, 18:42 |
|
codegrinder 16 Jan 2008, 18:53
vid wrote: this doesn't work either: "1.11111111111111111111111111111" It takes no more then 20 digits after point, no sense to take more because it will not give more precision. Can allow more by ignoring the rest of characters. |
|||
16 Jan 2008, 18:53 |
|
vid 16 Jan 2008, 21:51
yes, rather ignore them
|
|||
16 Jan 2008, 21:51 |
|
codegrinder 17 Jan 2008, 02:30
vid wrote: yes, rather ignore them Here you are.
|
|||||||||||
17 Jan 2008, 02:30 |
|
bitRAKE 17 Jan 2008, 04:43
Can you make leading with a "+" okay - like leading with "-"?
Try this to make the calculator choke: "--------------1" Each "-" makes the calculator take longer, and longer, and longer, ... |
|||
17 Jan 2008, 04:43 |
|
Madis731 17 Jan 2008, 06:50
That is one wierd error, seems like calculating the "-"-sign takes exponential amount of time :S
Btw, its starting to make shape, the calculator, so keep it up |
|||
17 Jan 2008, 06:50 |
|
codegrinder 18 Jan 2008, 03:05
Here is version with bugfixes (many -, +before number, many digits in integer part of a number) and new functions. Does anyone want hiperbolic or &, |, ^, <<, >>? Maybe some other functions?
Madis731 wrote: Btw, its starting to make shape, the calculator, so keep it up [Edit]Found silly bug, so attachment is updated[/Edit]
Last edited by codegrinder on 18 Jan 2008, 04:18; edited 1 time in total |
|||||||||||
18 Jan 2008, 03:05 |
|
vid 18 Jan 2008, 03:41
Quote: Does anyone want hiperbolic or &, |, ^, <<, >>? Maybe some other functions? if YOU want to make a good calculator, add 'em! but careful about ^ - is it exponential or xor? i'd prefer ** for exp i quess. |
|||
18 Jan 2008, 03:41 |
|
codegrinder 18 Jan 2008, 04:21
vid wrote: but careful about ^ - is it exponential or xor? i'd prefer ** for exp i quess. The same schema is in devcalc . |
|||
18 Jan 2008, 04:21 |
|
Madis731 18 Jan 2008, 07:31
Code: -96+9-1 = -88 -97+9-1 = -88.999999999999999 -98+9-1 = -89.999999999999999 -99+9-1 = -91 |
|||
18 Jan 2008, 07:31 |
|
codegrinder 18 Jan 2008, 11:44
Madis731 wrote:
Fixed.
|
|||||||||||
18 Jan 2008, 11:44 |
|
asmrox 19 Jan 2008, 04:39
unicode strings, and calls to ansi functions.
<?xml version... whats that? but works good |
|||
19 Jan 2008, 04:39 |
|
LocoDelAssembly 19 Jan 2008, 06:29
Quote:
Because without it the dialogs doesn't follow the desktop theme and looks Win2000-like. It is noticeable on a WinXP with default desktop appearance settings the difference between using schemas and not. |
|||
19 Jan 2008, 06:29 |
|
codegrinder 19 Jan 2008, 10:52
asmrox wrote: unicode strings, and calls to ansi functions. Pardon me, but where did you see unicode strings except resource macroses? asmrox wrote: but works good Thanks . |
|||
19 Jan 2008, 10:52 |
|
codegrinder 20 Jan 2008, 04:24
Hyperbolic functions + bugfixes. Sec was 1/sin(x) and Csc was 1/cos(x). Fixed.
I need your comments on future interface. You will find my vision in attachment. Any comments/ideas are appreciated.
|
||||||||||||||||||||
20 Jan 2008, 04:24 |
|
Goto page Previous 1, 2, 3 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.