on Mon, 21 Jul 2008 08:46:03 -0500
"Daniel Stutzbach" wrote:
> Also, the patch doesn't include the extensive comments in the original
> code that explain the mathematics. Including a URL in the patch would
> at least allow someone to find those comments.
i rearranged the patches so that they are
Terry Reedy
> I'm interested also. Done and done.
> http://bugs.python.org/issue3366
patch is submitted. it is tested only on linux-2.6.26
with gcc-4.3.1.
Raymond Hettinger
> Discussions of "my approximation is better/faster/etc than yours"
> can be interminable.
> Recommend you put together your
on Tue, 15 Jul 2008 08:32:02 -0500
Daniel Stutzbach wrote:
> I suggest using the versions from newlib's libm. They contain
> extensive comments explaining the math and have a generous license,
> e.g.,:
>
> http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/src/newlib/libm/math/s_erf.c?rev=1.1.1.
on Tue, 15 Jul 2008 09:27:39 +0100
Mark Dickinson wrote:
> Writing explicit code for these functions, for platforms
> whose libm doesn't support them, would be a fairly major task.
> Stealing code (in an appropriately legal fashion) from somewhere
> else might work.
> In any case, if you're inter
on Tue, 15 Jul 2008 01:39:19 -0700
Raymond Hettinger wrote:
> In the meantime, here's a little cheat:
>
> >>> from test.test_random import gamma
> >>> gamma(4)
> 5.9982
> >>> gamma(5)
> 24.0
> >>> gamma(6)
> 120.03
> >>> gamma(6.1)
> 142.45194406567856
there is a simple im
gammas and errors functions are available from the C standard
library. it would be nice to have them in the math module.
or is there any reason not to include them?
diff -u1 /usr/local/src/Python-3.0b1/Modules/mathmodule.c mathmodule.c
--- /usr/local/src/Python-3.0b1/Modules/mathmodule.c2008-
on Sun, 29 Jun 2008 14:21:04 -0400
Terry Reedy wrote:
>http://bugs.python.org/issue3237
>Register and you can submit these yourself.
i'll do so next time.
thanks,
nirinA
--
___
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/m
Exception in Tkinter callback
Traceback (most recent call last):
File "/root/Py3kb1/lib/python3.0/tkinter/__init__.py", line 1409,
in __call__
return self.func(*args)
File "/root/Py3kb1/lib/python3.0/idlelib/MultiCall.py", line 165,
in handler
r = l[i](event)
File "/root/Py3kb1/li
why the following behavior:
>>> b=b'thisisbytes'
>>> b[0] == b't'
False
>>> b[0]
116
i expected same thing as:
>>> b.startswith(b't')
True
>>> b[0:1] == b't'
True
>>> b[0:1]
b't'
>>> b[:1]
b't'
and this is a bit curious:
>>> b[2:5]
b'
on Fri, 20 Jun 2008 08:47:26 +0400
Georgij Kondratjev wrote:
>On Friday 20 June 2008 06:04:44 Benjamin Peterson wrote:
>> On Thu, Jun 19, 2008 at 8:18 PM, nirinA raseliarison
>>
>> <[EMAIL PROTECTED]> wrote:
>> > hello all,
>> > i tried to build Pyth
hello,
on Thu, 19 Jun 2008 21:04:44 -0500, Benjamin Peterson wrote:
>On Thu, Jun 19, 2008 at 8:18 PM, nirinA raseliarison
><[EMAIL PROTECTED]> wrote:
>> hello all,
>> i tried to build Python3.0b1 but the make process hangs
>> while running:
>
>Build
hello all,
i tried to build Python3.0b1 but the make process hangs
while running:
./python -E ./setup.py build
breaking the building with ctrl-C, i have:
gcc -pthread -Xlinker -export-dynamic -o python
Modules/python.o
libpython3.0.a -lpthread -
12 matches
Mail list logo