Search found 554 matches
new stuff
added: "I" - Import drawing.dxf into the current drawing. Currenly this is limitted to only those files that were created with FB-Cad. "G" - Group: In order to delete, move or modifiy one or more lines, Position the mouse over an existing line and press "g" to add it to...
rev1
added maddogs requirement to dim mouse params
ps. i was able to import drawing.dxf into autocad2k - i was kinda using ac2k to verify my math was correct.
ps. i was able to import drawing.dxf into autocad2k - i was kinda using ac2k to verify my math was correct.
For example:
Pressing Esc to end the program saves the drawing in file called "drawing.dxf" if you choose "Y" for yes. Screen Layout: The left side is used for drawing information, buttons and line color/layer selection. The right side is used for the drawing area. Functionality: While moving...
FB CAD
FB CAD by Owen Reese A cad program developed by freeBASIC programmers written in freeBASIC for the pupose of : 1. Learning how to code in freeBASIC 2. Creating a free basic cad program for all to use (freely) 3. Learning and understanding math 4. Inspiring Creativity. http://www.fbcadcam.com http://...
- May 16, 2006 22:04
- Forum: Sources, Examples, Tips and Tricks
- Topic: Implementing a new prime number algorithm
- Replies: 4
- Views: 3048
- May 15, 2006 1:50
- Forum: Sources, Examples, Tips and Tricks
- Topic: Implementing a new prime number algorithm
- Replies: 4
- Views: 3048
not new
So I re-invented the wheel. Folks say this is Fermat's Little Theorem. Well that's Ok - It was fun to have discovered it on my own without knowing about Fermat. Even so, I would still like to investigate the idea of binary division as a project since using large exponents is not available in gmp yet...
- May 14, 2006 3:50
- Forum: Sources, Examples, Tips and Tricks
- Topic: Implementing a new prime number algorithm
- Replies: 4
- Views: 3048
Implementing a new prime number algorithm
I think a number is prime when M=2 for N = 3 to 11 step 2 M = (2^N) mod N if M = 2 then print N next simple code above and below prints 3,5,7 & 11 (not 9) and seems to list numbers that are prime up to 30 million range (using gmp) I also think that a number minus one (N-1) is prime when M=1 for ...
- May 08, 2006 15:40
- Forum: Beginners
- Topic: 100% CPU usage, why?!
- Replies: 10
- Views: 3335
cpu usage
Is there way to monitor cpu usage?
If I can monitor the cpu usage then:
By being able to programmatically monitor the cpu usage, I will be able to programmatically throttle the cpu usage.
If I can monitor the cpu usage then:
By being able to programmatically monitor the cpu usage, I will be able to programmatically throttle the cpu usage.
- Apr 29, 2006 14:42
- Forum: Libraries Questions
- Topic: GMP
- Replies: 38
- Views: 13921
installing gmp on winxp for use in fb
try this http://www.cs.ualberta.ca/~graphics/software/CGAL/CGAL-3.1/auxiliary/wingmp/gmp-4.1.3/libgmp-3.dll using this dll - i am now able to calculate numbers higher then 2^30mil ps. i was not able to make my own dll - worked on it for 3 days and never could get any to work... so just kept on searc...
- Apr 28, 2006 19:46
- Forum: Libraries Questions
- Topic: GMP
- Replies: 38
- Views: 13921
same error
ok - i get the same kind of error when i try to do something like take a large number and mod it with a not so large number... like: 2 ^30 mil mod 3. (this produces and error in xp-pro sp2 on a p3 with 256 meg ram) - the error indicates - sorry ms has dectected an error and wants to know if'n i woul...
- Apr 28, 2006 4:03
- Forum: Libraries Questions
- Topic: GMP
- Replies: 38
- Views: 13921
strange limit
Thank you for the help with gmp... gmp is very - very fast - bigint is nowhere close to the speed of gmp. I have a strange limitation to printing the string to file: my max number size is 2^1959352 (in other words 1959353 and up causes an error) mpz_init_set_si(@bignum, 2 ) mpz_pow_ui( @bignum, @big...
- Apr 27, 2006 16:09
- Forum: Libraries Questions
- Topic: GMP
- Replies: 38
- Views: 13921
examples using gmp in fb
I need simple examples in which I can learn how to use GMP in FB such as how to add, subtract, multiply, divide, take numbers to strings for saving on file, and how to take strings from file into GMP variables or pointers. My goal is to compare GMP to BigInt by testing the time to calculate 2^300000...
- Apr 20, 2006 1:41
- Forum: Libraries Questions
- Topic: big_int from string
- Replies: 2
- Views: 2792
big_int strings
Yes, it works great.
Thankyou very much.
Thankyou very much.
- Apr 19, 2006 11:10
- Forum: Libraries Questions
- Topic: big_int from string
- Replies: 2
- Views: 2792
big_int from string
How to convert mystring$="1234" to a big_int #include once "big_int/big_int_full.bi" #ifndef NULL #define NULL 0 #endif dim as big_int ptr a a = big_int_create(1) dim as big_int_str ptr s s = big_int_str_create(1) 'big_int_from_str (byval s as big_int_str ptr, byval base as uinte...