/**************************************************************** * * The author of this software is David M. Gay. * * Copyright (c) 1991, 2000, 2001 by Lucent Technologies. * * Permission to use, copy, modify, and distribute this software for any * purpose without fee is hereby granted, provided that this entire notice * is included in all copies of any software which is or includes a copy * or modification of this software and in all copies of the supporting * documentation for such software. * * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED * WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. * ***************************************************************/ /* This code has been downloaded from http://www.netlib.org/fp/ on 2017-12-16 and adapted for use within Open CASCADE Technology as follows: 1. Macro IEEE_8087 is defined unconditionally 2. Forward declarations of strtod() and atof(), and 'extern C' statements are commented out 3. strtod() is renamed to Strtod() (OCCT signature) 4. dtoa(), freedtoa() and supporting functions are disabled (see DISABLE_DTOA) 5. Compiler warnings are suppressed */