Tk Library Source Code

View Ticket
Login
Ticket UUID: 1847125
Title: Modified pnorm function
Type: Bug Version: None
Submitter: erickb Created on: 2007-12-09 04:33:33
Subsystem: math :: statistics Assigned To: arjenmarkus
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-11-16 15:18:44
Resolution: Fixed Closed By: arjenmarkus
    Closed on: 2009-11-16 08:18:44
Description:
Hello,

I was using pnorm with some large values for the argument and having it blow up (floating-point value too large). I've made a modified version that swaps from the series expansion (the current approach) to a continued fraction, depending on the size of the argument. I'm attaching the file.

It works pretty well! I've reported some test values at the end of the file.

Eric
User Comments: arjenmarkus added on 2009-11-16 15:18:44:

allow_comments - 1

arjenmarkus added on 2009-11-16 15:18:42:
Closing this issue - incorporated since january 2008

erickb added on 2007-12-09 11:33:33:

File Added - 257817: pnorm_ekb.tcl

Attachments: