140865Sbostic /*- 2*62092Sbostic * Copyright (c) 1979, 1993 3*62092Sbostic * The Regents of the University of California. All rights reserved. 440865Sbostic * 540865Sbostic * %sccs.include.redist.c% 640865Sbostic */ 71663Smckusick 840865Sbostic #ifndef lint 9*62092Sbostic static char sccsid[] = "@(#)LN.c 8.1 (Berkeley) 06/06/93"; 1040865Sbostic #endif /* not lint */ 111663Smckusick 122066Smckusic #include <math.h> 131663Smckusick 141663Smckusick double LN(value)151663SmckusickLN(value) 161663Smckusick 171663Smckusick double value; 181663Smckusick { 191663Smckusick if (value <= 0) { 203867Smckusic ERROR("Non-positive argument of %e to ln\n", value); 211663Smckusick } 221663Smckusick return log(value); 231663Smckusick } 24