<freemint>
N3k0 it is possible to define something like floating point numbers.
<freemint>
and since it is possible to do stuff from C to you could even use actual floating point
<freemint>
Picolisp is not aware of scaled numbers, i would say
<freemint>
but why would you want Floats if you can have arbitrary precise rational numbers
<N3k0>
im passing data between picolisp and otherlanguages
<N3k0>
so if e.g call to webapi returns transient symbol "123.456" and i wanted to pass it forward to J, i need to write it to memory and tell J what type it is
<freemint>
ok
<freemint>
where is the problem then?
<N3k0>
i guess i dont really understand how to convert that transient symbol into a float? if it actually is just an integer
<freemint>
you got a "5.4" as string from Picolisp and want to convert it to afloat in J?
<N3k0>
yup
<freemint>
That is a problem of J not PicoLisp
tankf33der has quit [Quit: Connection closed for inactivity]
<N3k0>
hmm.
<freemint>
if J provides no string to float you might need to write your own
<freemint>
you could to that by longer at the decimals and powers of ten
<N3k0>
weeell... it does provide that
<N3k0>
im just storing the values as scaled nubmers in picolisp
<N3k0>
i guess i can just not do that :)
<freemint>
ok
<freemint>
where is the problem then?
<N3k0>
no where i guess since format solves that for me :)
<freemint>
got any other questions or unclear things
<Nistur>
I guess that was an incorrect highlight :P
<Nistur>
also: mornin'
orivej has joined #picolisp
freemint has quit [Ping timeout: 264 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
<tankf33der>
Regenaxer: im on vacation, cant write active
orivej has quit [Ping timeout: 264 seconds]
_whitelogger has joined #picolisp
freemint has joined #picolisp
<Regenaxer>
Hi tankf33der, yes, I'm in France, back Thursday
<Regenaxer>
Nistur: Which highlighting?
<Nistur>
Regenaxer: you linked me to a webpage that I think, from context, was probably intended for N3k0
<Regenaxer>
oh
<Regenaxer>
haha, yes, sorry!
<freemint>
Regenaxer anyway that is a nice write up, we need more like these.
<Nistur>
:)
<Regenaxer>
Seems I just typed 'N' + TAB
<Regenaxer>
freemint, yes, very good article, well explained
sriram has joined #picolisp
<freemint>
It just takes an simple idea and runs with it until it becomes obvious... all consequences are spelt out clearly
erkin has quit [Quit: Ouch! Got SIGIRL, dying...]
sriram has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 248 seconds]
orivej has joined #picolisp
styx has joined #picolisp
orivej has quit [Ping timeout: 268 seconds]
beneroth has joined #picolisp
<beneroth>
hi all
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
alexshendi has joined #picolisp
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
orivej has joined #picolisp
u0_a183 has joined #picolisp
<freemint>
hi beneroth
<beneroth>
hey freemint
<freemint>
anything new?
styx has quit [Quit: styx]
alexshendi has quit [Read error: Connection reset by peer]
<beneroth>
freemint, nah. I'm currently on holidays :)
<beneroth>
how are you doing?
<freemint>
Studying for Prüfungen
<freemint>
Linear Algebra it is
<freemint>
i might write some linear algebra software too
<beneroth>
cool
<beneroth>
writting some software is a good idea to learn the stuff well, I believe
<freemint>
yeah but i will do after the Prüfungsphase
<freemint>
i might plan it now
<freemint>
there are some funny ideas
<freemint>
for example I would be very happy if it could derive that field over a field is a vector space of dimension 1
<freemint>
but i really think i want to write my own deduction machinery and not use pil
<freemint>
og
<freemint>
beneroth where do you holiday?
<beneroth>
vienna
<freemint>
oh it is a nice city
<freemint>
not too expensive
<beneroth>
you could also try to generate diagrams to visualise the math
<beneroth>
yes :)
<freemint>
beneroth can you explain?
<beneroth>
there are libraries to generate diagrams, e.g. a 2D or even a 3D diagrams
<beneroth>
just an idea, you could play around with them too, in your math tool
<freemint>
what for, what does math have todo with diagrams?
<beneroth>
a friend of mine did this as an exercise, worked well for him (for his math skills)
<beneroth>
diagrams are a visual representation e.g. of mathematical functions
<beneroth>
visual representation often helps with understanding (well, having more than one representation often helps, with understanding and with memorizing)
<freemint>
oh you mean functions from the real numbers to real numbers
orivej has quit [Ping timeout: 240 seconds]
<freemint>
sorry but what i have in mind is at a different level of abstraction
<freemint>
plotting functions is a solved problem
<freemint>
in the end i would like to build a repl for mathematics
<freemint>
you can have it perform transformations on stuff, try to help to prove theorems
<freemint>
only theorems in a the classes i had but that might still be useful not the next generation
<freemint>
well we will see if i do anything
<freemint>
i got a few other cool ideas
pierpal has quit [Ping timeout: 256 seconds]
alexshendi has joined #picolisp
<beneroth>
freemint, you know mathlab / GNU octave ?
<freemint>
yes
<freemint>
they are mostly for numeric mathematics
<freemint>
beneroth what about them?
<beneroth>
okay, so you want to go way above them. interesting.
<beneroth>
good night freemint
<freemint>
good night
<freemint>
the idea is teach lisp what certain basic structures in math are
<freemint>
like groups
<freemint>
and have it proof things by deduction and brute force which ever is applicable