orivej has quit [Ping timeout: 272 seconds]
Blukunfando has quit [Ping timeout: 272 seconds]
<
Regenaxer>
Good idea, tankf33der!
<
tankf33der>
Code will grow here, most important part done. :)
rob_w has joined #picolisp
<
Regenaxer>
Any ideas for an application?
<
tankf33der>
For libgmp?
<
tankf33der>
I will test pil’s bigmath
<
tankf33der>
testing pil on released 5.11 kernel.
<
tankf33der>
all passed.
<
Regenaxer>
Thanks!
beneroth has joined #picolisp
<
tankf33der>
damn, they redefine names inside library
<
Regenaxer>
Really redefined? Or just missing?
<
tankf33der>
#define mpz_init __gmpz_init
<
tankf33der>
i should call native with theese
__gmpz_ strings then, right?
<
Regenaxer>
yes, mpz_init is just a macro and does not exist as a symbol in the binary
<
tankf33der>
Regenaxer: again this thing when native returns unsigned long, i saved how to convert somewhere.
<
tankf33der>
and cant recreate this knowledge myself now.
<
tankf33der>
could you provide it 3rd time? :(
<
Regenaxer>
yes, if the number is negative, you add hex FFFFFFFF...
<
Regenaxer>
eg 254 in 8 bit is -2
<
Regenaxer>
hmm, no, you must add 100000.... :)
<
Regenaxer>
in case of 64 bits add `(** 2 64)
<
tankf33der>
ok. recorded again.
<
tankf33der>
for 64bit new 'P saved my ass.
<
Regenaxer>
Good :)
orivej has joined #picolisp
<
tankf33der>
~50% done.
<
tankf33der>
done. implemented ~60% of all integers functions of libgmp.
tankf33der has joined #picolisp
rob_w has quit [Quit: Leaving]
Seteeri has joined #picolisp
<
tankf33der>
Binding done, next testing it over picolisp.
<
tankf33der>
win-win.
ym has joined #picolisp
ym has quit [Ping timeout: 260 seconds]
<
tankf33der>
Running 1M loop over libgmp, will announce tomorrow if finished successfully.
<
tankf33der>
Afk. Sleep.
<
Regenaxer>
Good night!
libertas has joined #picolisp
Seteeri has quit [Read error: Connection reset by peer]