Search found 633 matches
- Thu Jul 08, 2021 5:06 am
- Forum: eXpress++ Support
- Topic: Round() slow down calculations
- Replies: 11
- Views: 11299
Re: Round() slow down calculations
Chris, thats interesting and it works :clap: , I am surprised , also time with int is better than with round. With round() test cycle running for example 3.80 seconds, and with int(number+0.5) 2.09 ! You are a genius , thanks very much. Eugene, yes, using GPU will be very nice , but I do not know ho...
- Wed Jul 07, 2021 4:53 am
- Forum: eXpress++ Support
- Topic: Round() slow down calculations
- Replies: 11
- Views: 11299
Re: Round() slow down calculations
one idea : SET FIXED ON SET DECIMALS TO 1 c:=1.233 cu:=int(c) d:=c-cu ? d if d<0.5 e:=cu else e:=cu+1 endif ? e c:=1.568 cu:=int(c) d:=c-cu ? d if d<0.5 e:=cu else e:=cu+1 endif ? e result if c=1.233 e will be 1 when c=1.568 e will be 2 this I need, but now I must test how time need this calculation...
- Wed Jul 07, 2021 4:26 am
- Forum: eXpress++ Support
- Topic: Round() slow down calculations
- Replies: 11
- Views: 11299
Re: Round() slow down calculations
no no, converting to string need more more time, this is not right way ![Naughty :naughty:](./images/smilies/eusa/naughty.gif)
![Naughty :naughty:](./images/smilies/eusa/naughty.gif)
- Wed Jul 07, 2021 4:17 am
- Forum: eXpress++ Support
- Topic: Round() slow down calculations
- Replies: 11
- Views: 11299
Re: Round() slow down calculations
Ton, thanks for confirm that mathematical operations work with full decimal places. And you are right, when SET DECIMALS TO 32 accept only first 16 decimal places , other was 0. Its important, but not important for my calculations. I want test some primitive algorith, for example when I need only 4 ...
- Wed Jul 07, 2021 1:39 am
- Forum: eXpress++ Support
- Topic: Round() slow down calculations
- Replies: 11
- Views: 11299
Re: Round() slow down calculations
sorry, yes SET FIXED ON / OFF and set decimals, I have SET DECIMALS TO 4. But now i tested two variants starttim:=seconds() for i=1 to 20000000 j1:=round(c,0) k1:=k1+j1 next stoptim:=seconds() celtim1:=stoptim-starttim starttim:=seconds() for i=1 to 20000000 j2:=int(c) k2:=k2+j2 next stoptim:=second...
- Tue Jul 06, 2021 9:10 am
- Forum: eXpress++ Support
- Topic: Round() slow down calculations
- Replies: 11
- Views: 11299
Round() slow down calculations
Hi, I work on optimalization of application, where milions operations calculate, and found that round() slow down processing. I understand well ? I have number a=1, and b=3 when c=a/b, calculate 0.33333333333 etc, but when I print nubmer I see only 0.33 when SET FIXED TO 2 for example. But when I ge...
- Fri Jul 02, 2021 12:16 am
- Forum: eXpress++ Support
- Topic: Database creation error: invalid database name
- Replies: 14
- Views: 12421
Re: Database creation error: invalid database name
Eugene, look for my _LoadDbes(), default system DbeSys() was not loaded, and instead of this loaded _LoadDbes(), ************************************************************************ * TESTOVACIA UTILITKA ************************************************************************ #include "dcdialog....
- Thu Jul 01, 2021 1:08 am
- Forum: eXpress++ Support
- Topic: Database creation error: invalid database name
- Replies: 14
- Views: 12421
Re: Database creation error: invalid database name
Eugene, small test program attached,
control your _dbesys FOXCDX settings
control your _dbesys FOXCDX settings
- Thu Jul 01, 2021 12:10 am
- Forum: eXpress++ Support
- Topic: Database creation error: invalid database name
- Replies: 14
- Views: 12421
Re: Database creation error: invalid database name
Hi Eugene,
When I test it, for me database creation is ok.
Only I delete comments // ... which is in azbuka
I do not see jpg in attachment.
When I test it, for me database creation is ok.
Only I delete comments // ... which is in azbuka
I do not see jpg in attachment.
- Tue Jun 29, 2021 12:10 am
- Forum: eXpress++ Support
- Topic: Rowcolor - only frame colored
- Replies: 14
- Views: 12821
Re: Rowcolor - only frame colored
Hi, Only yesterday I work on it, Roger, your solution is interesting, this can I use laters. But this what I searching is as Wolfgang wrote, 4 elements of color help me. I do not know, what simple :dance: . Now when I have for example COLOR {COLOR_WHITE,COLOR_DARKCYAN,COLOR_WHITE,COLOR_CYAN} this wo...