Search found 1780 matches

by srvaldez
Jan 17, 2019 14:46
Forum: Beginners
Topic: DIR does list (some) files as directories
Replies: 13
Views: 213

Re: DIR does list (some) files as directories

perhaps this code by Richard may be of interest to you https://www.freebasic.net/forum/viewtopic.php?p=191571#p191571 I incorporated it in your example #INCLUDE "dir.bi" CHDIR "C:\Users\padawan\FreeBASIC-1.05.0-win64" DECLARE SUB listFiles (filespec AS STRING, attrib AS INTEGER) ...
by srvaldez
Jan 16, 2019 13:43
Forum: General
Topic: can you spot the problem?
Replies: 6
Views: 230

Re: can you spot the problem?

@counting_pine
I just went by this information here http://lists.llvm.org/pipermail/llvm-bu ... 32475.html
it seems to be a reoccurring bug.
by srvaldez
Jan 16, 2019 9:58
Forum: General
Topic: can you spot the problem?
Replies: 6
Views: 230

Re: can you spot the problem?

hello St_W what I did was to build just the compiler in macOS High Sierra and the runtime libs in macOS Mojave, this is certainly only a temporary solution until Apple fixes the llvm gcc compiler. presently I am using X11 for the graphics but I don't know how long that will continue, I believe that ...
by srvaldez
Jan 15, 2019 19:49
Forum: General
Topic: can you spot the problem?
Replies: 6
Views: 230

Re: can you spot the problem?

never mind, it's a bug in Apple's LLVM gcc
by srvaldez
Jan 15, 2019 15:41
Forum: General
Topic: can you spot the problem?
Replies: 6
Views: 230

can you spot the problem?

trying to compile FB in macOS Mojave gives the following error (the runtime libraries build ok) make FBFLAGS="-asm att" ENABLE_XQUARTZ=1 compiler FBC src/compiler/obj/fb.o src/compiler/obj/fb.c:1362:2: error: indirect goto in function with no address-of-label expressions goto *vr$4; ^ src/...
by srvaldez
Jan 09, 2019 15:07
Forum: Windows
Topic: long double for FB-Win64
Replies: 18
Views: 355

Re: long double for FB-Win64

thank you dodicat, yes Chebyshev series often give near minimax approximations and are relatively easy to calculate.
by srvaldez
Jan 09, 2019 11:01
Forum: Windows
Topic: long double for FB-Win64
Replies: 18
Views: 355

Re: long double for FB-Win64

thank you dodicat for participating :-) I wanted to know whether my latest version of clongdouble would work for you, in some cases, it can be significantly faster than double, though in most cases it's slower. what I found interesting is how efficiently gcc implements the math functions in x64, the...
by srvaldez
Jan 09, 2019 3:02
Forum: Windows
Topic: long double for FB-Win64
Replies: 18
Views: 355

Re: long double for FB-Win64

dodicat, the Chebyshev coefficients of the program I posted are correct, but the polynomial coefficients don't look right, I copied the program ages ago from somewhere, need to figure out what's wrong. on the other hand, your program's Chebyshev coefficients don't look right but the polynomial coeff...
by srvaldez
Jan 08, 2019 21:12
Forum: Windows
Topic: long double for FB-Win64
Replies: 18
Views: 355

Re: long double for FB-Win64

@dodicat would you please test this version and see if you find any anomalies? you will need ioldouble.bi from first post thank you [ I ran the minimax program with x(100000, 15) and 1000 iterations without any problems ] FBwin64, use -asm att #include "ioldouble.bi" type clongdouble as ul...
by srvaldez
Jan 08, 2019 12:03
Forum: Libraries
Topic: xcgui-2.3.3 win32
Replies: 11
Views: 269

Re: xcgui-2.3.3 win32

there's a text file in the doc folder at https://github.com/CodyGuo/xcgui , Google translation follows Colorful Interface Library User License Agreement Introduction:     Colorful interface library, C/C++ software interface development framework, independent research and development, using DirectUI ...
by srvaldez
Jan 07, 2019 21:21
Forum: Windows
Topic: long double for FB-Win64
Replies: 18
Views: 355

Re: long double for FB-Win64

I reuploaded the corrected code and included both 32 and 64-bit libs :-)
by srvaldez
Jan 07, 2019 21:07
Forum: Windows
Topic: long double for FB-Win64
Replies: 18
Views: 355

Re: long double for FB-Win64

my apologies, here's the corrected FB code, this should work in both 32 and 64-bit #inclib "cldbl" type ext #ifdef __FB_WIN32__ #ifdef __FB_64BIT__ #define numberoflongs 4 #else #define numberoflongs 3 #endif #endif as ulong ext_longs(1 to numberoflongs) Declare constructor () Declare dest...
by srvaldez
Jan 07, 2019 20:49
Forum: Windows
Topic: long double for FB-Win64
Replies: 18
Views: 355

Re: long double for FB-Win64

did you build the library from the sources?
there's one thing I forgot, the ext type should be 12-bytes in 32-bit mode and 16-bytes in 64-bit, need to fix that.
if you are running in 32-bit, then perhaps changing the ext type to be 12-bytes will fix the problem.
anyway, thanks for testing.
by srvaldez
Jan 07, 2019 20:00
Forum: Windows
Topic: long double for FB-Win64
Replies: 18
Views: 355

Re: long double for FB-Win64

got tired chasing after bugs, so I made a Wrapper for long double math in C, source code only, easy to build.
by srvaldez
Jan 04, 2019 20:58
Forum: Windows
Topic: long double for FB-Win64
Replies: 18
Views: 355

Re: long double for FB-Win64

dodicat, I think that the code is not safe at the moment, in my quest for the fastest code I think that I cut too many corners and that the stack is not being preserved.

Go to advanced search