[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] set-file-position! only works with fixnums
From: |
John Cowan |
Subject: |
Re: [Chicken-users] set-file-position! only works with fixnums |
Date: |
Fri, 2 Oct 2009 00:30:45 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Kon Lovett scripsit:
> Possible is adding a int64_t heap type. But involves hitting every
> piece of code that any extension of the core number system would.
Indeed. If we're going to do that, I'd rather go with core bignums
after all, perhaps from LibTomMath (which is dedicated to the public
domain by its author), and dispose of the issue once and for all.
> Changed posixunix to use fseeko, ftello and treat lseek as taking &
> returning an off_t. It will use the 'long' forms when
> _POSIX_V6_ILP32_OFF32 is defined. (Only tested with MacOS 10.5)
>
> Changed posixwin to use _fseeki64, _ftelli64 and _lseeki64.
>
> Note: 'file-position' now ONLY returns integer flonums!
Thanks!
--
When I'm stuck in something boring John Cowan
where reading would be impossible or (who loves Asimov too)
rude, I often set up math problems for address@hidden
myself and solve them as a way to pass http://www.ccil.org/~cowan
the time. --John Jenkins
- Re: [Chicken-users] set-file-position! only works with fixnums, Thomas Bushnell BSG, 2009/10/01
- Re: [Chicken-users] set-file-position! only works with fixnums, John Cowan, 2009/10/01
- Re: [Chicken-users] set-file-position! only works with fixnums, Kon Lovett, 2009/10/01
- Re: [Chicken-users] set-file-position! only works with fixnums,
John Cowan <=
- Re: [Chicken-users] set-file-position! only works with fixnums, Thomas Bushnell BSG, 2009/10/02
- Re: [Chicken-users] set-file-position! only works with fixnums, Kon Lovett, 2009/10/02
- [Chicken-users] Bignums in core, Kon Lovett, 2009/10/02
- Re: [Chicken-users] Bignums in core, John Cowan, 2009/10/03
- Re: [Chicken-users] Bignums in core, Kon Lovett, 2009/10/03
- Re: [Chicken-users] Bignums in core, John Cowan, 2009/10/04
- Re: [Chicken-users] Bignums in core, Nicholas \"Indy\" Ray, 2009/10/04
- Re: [Chicken-users] Bignums in core, Thomas Bushnell BSG, 2009/10/04
- Re: [Chicken-users] Bignums in core, Nicholas \"Indy\" Ray, 2009/10/04
- Re: [Chicken-users] Bignums in core, John Cowan, 2009/10/04