Search found 1153 matches
- May 19, 2019 10:29
- Forum: Projects
- Topic: Creating (scientific) plots via gnuplot
- Replies: 68
- Views: 2621
@Aurel: Do you mean software or hardware, i.e. plot on a metal surface??? Challenge? ;-) Challenge? ;-) Absolutely! Just post the code that uses badidea's data and displays it as close as possible to his version ;-) Here is my version (complete source; the window is sizeable, ArrayPlotValues is opti...
Two dedicated instructions are available (plus several non-dedicated ones like movq, movlps, movups etc): include \masm32\MasmBasic\MasmBasic.inc ; download .data s1 REAL4 11111.11111 s2 REAL4 22222.22222 s3 REAL4 33333.33333 s4 REAL4 44444.44444 s5 REAL4 55555.55555 Init movss xmm1, s1 movd xmm2, s...
Intel Core i5, not the latest model, GAS: swap time proxy time int: 0.003103105379864246 0.003105157893855903 str: 0.007858134918478754 0.08723219351736589 udt: 0.009785106172330416 0.1015518810260119 integer swap/proxy ratio: 0.9993389985109232 Under the hood, there is little to improve: push dword...
In the GPU world, many newer cards support half (which is half a single, iow a 16-bit float). In the FPU world, you can use half integers (-32768 ... 32767, enough for most screen resolutions): include \masm32\MasmBasic\MasmBasic.inc ; download W1 dw 1234 W2 dw 4321 Init fild W1 fiadd W2 Inkey Str$...
Take whatever suits you, there is no speed difference. Every little line, circle or triangle you are drawing costs you thousands of cpu cycles, therefore a cycle more or less with integers instead of doubles will change absolutely nothing. I would pick floats, they are fast and sufficiently precise ...
Even after correction of the two chr $ (), I get a bunch of cryptic errors: ** compiling TmpFb.bas with -t 2000 -s console ** sGUIWin_v0.9.00_01\tmp\TmpFb.bas(6) error 14: Expected identifier, found 'TextObject' sGUIWin_v0.9.00_01\tmp\TmpFb.bas(7) error 41: Variable not declared, TOList sGUIWin_v0.9...
- Apr 18, 2019 3:16
- Forum: Tips and Tricks
- Topic: 3d animated tunnel in pure FB
- Replies: 15
- Views: 17603
Looks interesting, but I don't have TinyC installed. So I tried Visual C, Gcc and PellesC. All three fail with this code, with very different error messages, of course. It would be nice if C was compatible to something ;-)
"By default, searches are limited to text strings greater than 4 characters". And I agree that this is a problem. My personal favourite help system is the old and terribly obsolete WinHelp32 btw. Clearly the best!dodicat wrote:it says no matches for get
- Apr 13, 2019 5:38
- Forum: General
- Topic: Speed issue with string concatenation and a solution
- Replies: 14
- Views: 692
Stringbuilders typically do the first default, and the second if you set a capacity. Or they avoid both to simply not wrap a single block allocation, but a linked list of say <n>MB blocks that you can then write to a socket one by one. That is basically what an array does. In fact, there is rarely ...