Search found 385 matches

by integer
Feb 06, 2019 23:45
Forum: General
Topic: gmp 6.2.0 and mpfr 4.0.2
Replies: 22
Views: 4226

Re: gmp 6.1.2 and mpfr 4.0.2

Very much appreciated.
Thanks srvaldez.
by integer
Jan 28, 2019 14:44
Forum: Windows
Topic: Win10 -- Win7 ; same program big time diff
Replies: 4
Views: 754

Win10 -- Win7 ; same program big time diff

I have a simple program: pseudocode: dim as longint n = 1000*1000*200 dim as longint array(n) dim as longint i,j for i = 1 to n-1 for j = i+1 to n ' checking separation points in a array against other separation points in the array next j next i The program evaluates points along a arithmetic progre...
by integer
Nov 07, 2018 3:13
Forum: General
Topic: runtime error 12; segmentation violation(solved)
Replies: 3
Views: 460

Re: runtime error 12; segmentation violation(solved)

You forgot to count the memory occupied by the string descriptor of each array element (about 30 million of elements). Each string descriptor uses 3 integers (24 bytes on 32 bits). I did not know that it required that amount. My thought was that at most it would require only about 4 bytes additiona...
by integer
Nov 06, 2018 19:43
Forum: General
Topic: runtime error 12; segmentation violation(solved)
Replies: 3
Views: 460

runtime error 12; segmentation violation(solved)

Why does this cause a segmentation fault, since the program allocates the space? The "metafile-xxx.txt" is alphanumeric data. The file has 25 to 30 million lines of data. Each line has 85 to 95 characters terminated with CR & LineFeed it is unsorted raw data. my attempt to read the fil...
by integer
Oct 30, 2018 1:04
Forum: Community Discussion
Topic: Crescent Software products for DOS are now PD.
Replies: 8
Views: 1401

Re: Crescent Software products for DOS are now PD.

While a lot of this stuff may not be immediately usable to FreeBASIC users, it's interesting to look through. The libraries are usable with QuickBASIC, PDS 7.1, and VBDOS. There's a LOT of x86 assembly in there, which would make porting to FreeBASIC...
by integer
Sep 17, 2018 16:51
Forum: Documentation
Topic: Wiki improvements
Replies: 540
Views: 96119

Re: Wiki improvements

A potential new article #17 ? About: How to Replace Any Recursion with Simple Iteration or Unlimited Iteration with its Own Stack, in FB I already wrote a thread around this topic. I could complete it and reword/synthesize all that in an article. Would some people be interested in such an article? ...
by integer
Sep 17, 2018 16:12
Forum: General
Topic: 2d array initializer
Replies: 1
Views: 262

Re: 2d array initializer

Hello: Why can't I initialize a 2d array with one index of each dimension 'dim As Integer x(1 To 1, 1 To 1) = {{1,1}} 'does not work @sancho3 If the array x has one(1) Row, and one(1) column, that means you have ONLY 1 place for values. The first dimension determines the number of contained sets {}...
by integer
Sep 17, 2018 15:49
Forum: General
Topic: type with constructor in namespace issue
Replies: 31
Views: 1651

Re: type with constructor in namespace issue

The following code prints 0 for n(1).a when UDT has a constructor. Without the UDT constructor n(1).a print 144. Why is my 144 getting lost in here? Namespace test Type udt As Integer a Declare Constructor End Type Constructor udt() End Constructor Static Shared As integer x = 12 Static Shared As u...
by integer
Sep 05, 2018 13:58
Forum: General
Topic: FreeBASIC's PRNG #2
Replies: 266
Views: 12374

Re: FreeBASIC's PRNG #2

Very interesting.
I like the idea of a full 64 bit ulongint, instead of the 53 bit from a double.
by integer
Jul 27, 2018 12:12
Forum: Projects
Topic: Arbitrarily Big Integer Routines
Replies: 35
Views: 9062

Re: Arbitrarily Big Integer Routines

Dear stephanbrunker Thanks for your quick reply. Please excuse my inadequate expressions. I'd like to enter numbers using "Input" command instead of the command line. Please teach me a sample program. Try this: #include "biginteger_v28.bas" '' <-- or what you have named it dim a...
by integer
Apr 28, 2018 1:49
Forum: Community Discussion
Topic: Windows 10 updates
Replies: 50
Views: 5478

Re: Windows 10 updates

dodicat wrote:I just let it update itself now.
What the heck, I have grey hairs a plenty anyway, don't need any more.
I probably have the latest Creators ensconsed, good luck to it I say.
I don't have anything important on this computer, just as well eh!

Really good advice.
by integer
Apr 13, 2018 8:12
Forum: Windows
Topic: Unsupported function
Replies: 13
Views: 1653

Re: Unsupported function

fxm wrote:
deltarho[1859] wrote:It seems to me then that there is a case for removing ThreadCall from the docs or a least a reccomendation for it not to be used.

KeyPgThreadCall → fxm [Added the advice to rather use ThreadCreate for the moment (which is it 100% safe)]

by integer
Apr 09, 2018 23:27
Forum: General
Topic: DOUBLE's fractional digits to ULONGINT ?
Replies: 20
Views: 1372

Re: DOUBLE's fractional digits to ULONGINT ?

I want to be able to generate a specified range of random doubles - not just the [0 to 1) range that a standard RND() that generates doubles does - but a range like [0.283834 to 0.9875922245]. And I haven't been able to figure out how to do that using only doubles. The only way I could think of to ...
by integer
Feb 16, 2018 4:46
Forum: General
Topic: imp____acrt_iob_func, undefined
Replies: 11
Views: 4012

Re: imp____acrt_iob_func, undefined

Thanks srvaldez. I tried several dozen times in the past years to compile the compiler on a xp and Win7. With each failure I would erase the files and reinstall all that I believed the developer pages identified. There were a bunch of errors that made no sense. My "corrections" to those me...
by integer
Feb 16, 2018 3:41
Forum: General
Topic: Parallelization
Replies: 17
Views: 1005

Re: Parallelization

Dodicat, very nice.
That should be placed in the samples directory.
It's a good example of multiple threads.

Go to advanced search