Re: Standard types
- Posted by "Carl W." <euphoria at cyreksoft.yorks.com> Jul 01, 2002
- 388 views
Juergen Luethje wrote: > global type complex (sequence s) [...] I'm working on a library for dealing with complex numbers at the moment, but it relies some other math libs I'm working on. Those who were around on the old mailing list a few years back (tempus fugit)might remember me mentioning (and even releasing) some math libs back then. The new ones are the just old ones rehashed and (hopefully) optimised for speed. I'm not setting myself a deadline though, so if anyone desparately needs a math routine in the meantime I'd be willing to see if I can cobble something together from what I already have. > --=========================[ date and time ]==========================-- > > function leap_year (integer year) [...] > constant > DaysInMonth = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31} > function days_in_month (integer year, integer month) [...] > global type datetime (sequence s) [...] There are creepy similarities here to bits of a library I submitted this time last year. Search for 'Carl' and 'datetime' at: http://www.rapideuphoria.com/archive.htm Great minds think alike. ;) Carl