Re: Standard types

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hello Carl,

you wrote:

> 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.

At the moment, I don't need to calculate with complex numbers, but a
library for dealing with them will IMO be a valuable supplement to
Euphoria.


>> --=========================[ 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)
> [...]

Some time ago, I wrote a .dll file in another language, containing
numerous date- and time-functions, including calculating Easter,
Advent, and more. Now I just have to translate the functions from Basic
to Euphoria.

> 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

Good work, also containing interesting historical information!

> Great minds think alike. ;)

I agree. blink

... or maybe it's just because we live under the same sun, and have the
same calendar. smile
Of course things become more complicated, if we begin to deal with
different calendars. I did not write routines for that purpose myself,
but here is a web site that I find interesting:
   http://www.fourmilab.ch/documents/calendar/

> Carl

Best regards,
   Juergen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu