PDCLib status

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:PDCLib status

Post by Solar »

I'm happy to announce everything is up and running again, including web-based repository browsing and tarball downloading (at http://www.pro-pos.org/cgi-bin/viewcvs.cgi?root=pdclib).

With that out of the way, I'm set to merge some contributions into the repository.

I still have Candy's math.h on hard drive, and I am pretty sure I have all other contribs (including Curufir's work) still in the mailbox on my hard drive. But since I've yet to import this into Linux and know my luck with computers lately... if you really want to make sure, just send me the ZIP's again. :-[ 8)
Every good solution is obvious once you've found it.
Perica
Member
Member
Posts: 454
Joined: Sat Nov 25, 2006 12:50 am

Re:PDCLib status

Post by Perica »

..
Last edited by Perica on Tue Dec 05, 2006 9:27 pm, edited 1 time in total.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:PDCLib status

Post by Solar »

Officially I would tell you that any decent book about the C programming language should come with some specs on the C standard library.

Inofficially, Google has some links about "ISO/IEC 9899:1999"... ;-)

As for implementing the standard, I strongly recomment P.J. Plauger's "The C Standard Library". The book comes at a price, but Plauger details many of the tricky innards of the C lib.

@ Candy:

You said you'd release the malloc module of AtlantisOS into PD... I surfed to atlantisos.com today, but when I followed the menu to the AtlantisOS sources all I got was a PHP error... you might want to fix that. ;-)
Every good solution is obvious once you've found it.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:PDCLib status

Post by distantvoices »

@solar:

Drop a look at your sourceforge-mailbox. 've sent some stuff concerning malloc();

stay safe
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:PDCLib status

Post by Candy »

Solar wrote: @ Candy:

You said you'd release the malloc module of AtlantisOS into PD... I surfed to atlantisos.com today, but when I followed the menu to the AtlantisOS sources all I got was a PHP error... you might want to fix that. ;-)
Very good point :). Will work late tonight to get at least the file section working (switching part of the design). The files are also at www.sf.net/projects/atlantisos - you can take either 0.0.1, 0.0.2 or 0.0.2.1 but I strongly advise the latest as the rest is less complete. AFAIK, didn't change any between 0.0.2 and 0.0.2.1.
Neptune

Re:PDCLib status

Post by Neptune »

So what is the difference between 'free' and GPL?
chris

Re:PDCLib status

Post by chris »

sebastian wrote: So what is the difference between 'free' and GPL?
Solar already explained that, look on the first page.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:PDCLib status

Post by Solar »

beyond infinity wrote: Drop a look at your sourceforge-mailbox. 've sent some stuff concerning malloc();
Committed this morning, including an entry to http://pdclib.sourceforge.net/credits.html - thanks!

You might want to know that the parameter to malloc() and realloc() is size_t (which is part of the standard), not uint_t (which isn't). 8) Also, you might want to have a look at stdint.h - it probably obsoletes your types.h. 8)
Every good solution is obvious once you've found it.
Therx

Re:PDCLib status

Post by Therx »

It says I contributed a malloc. Did I? I can't even remember writing a fully blown malloc! I'mn fairly sure this is a mistake. If I did then is it up so I can see it. I'm going brain dead!

Pete

PS If you do have one from me feel free to use it.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:PDCLib status

Post by Solar »

Hehe... oops! I confused you two "Peter"'s... too much editing done under severe time constrains can mess up quite something... sorry. :D
Every good solution is obvious once you've found it.
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:PDCLib status

Post by Candy »

Solar wrote: Hehe... oops! I confused you two "Peter"'s... too much editing done under severe time constrains can mess up quite something... sorry. :D
Doesn't matter, keeps you on your toes :).

I just -happened- to flip by your viewcvs, and it blew a 404 in my face. Is it unavailable?

Had time to check out the math.h yet?
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:PDCLib status

Post by Solar »

Candy wrote: I just -happened- to flip by your viewcvs, and it blew a 404 in my face. Is it unavailable?
No, it's up and alive at http://www.pro-pos.org/cgi-bin/viewcvs.cgi/. (Sorry, gave the wrong URL in the announcement above.)
Had time to check out the math.h yet?
Does http://www.pro-pos.org/cgi-bin/viewcvs. ... iew=markup look familiar, or did I forget something? (Not sure, I think I checked in the math.h you provided, but I was without my favourite and familiar tools at that time, so I might have goofed up.)
Every good solution is obvious once you've found it.
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:PDCLib status

Post by Candy »

Solar wrote: Does http://www.pro-pos.org/cgi-bin/viewcvs. ... iew=markup look familiar, or did I forget something? (Not sure, I think I checked in the math.h you provided, but I was without my favourite and familiar tools at that time, so I might have goofed up.)
It looks familiar. It's the old one, that's 16k smaller and doesn't contain the macros. So, your credits are wrong again :P

Simple solution: http://www.atlantisos.com/pub/pd/pdclib/math.h has the new one (had it for some time now).
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:PDCLib status

Post by Solar »

Done, thanks!

I haven't reviewed it in detail yet, but one note up front: no, long double is not always 80 bit - afair, 80 bit floating points are a speciality of the Intel architecture. Sorry but whenever numerical limits come into play, the standard gets difficult - there might even be machines around that do not notate floating points to a radix of 2... ::)
Every good solution is obvious once you've found it.
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:PDCLib status

Post by Candy »

Solar wrote: I haven't reviewed it in detail yet, but one note up front: no, long double is not always 80 bit - afair, 80 bit floating points are a speciality of the Intel architecture. Sorry but whenever numerical limits come into play, the standard gets difficult - there might even be machines around that do not notate floating points to a radix of 2... ::)
Ok, so then it should go in the x86 personality (or something). At least, the defines. I had somewhere spotted a sparc that did 128-bit, but I didn't know about those things.

Anyway, what /are/ you doing up at this hour? I know you're in the same timezone :).
Post Reply