/* Metrowerks Standard Library
 * Copyright © 1995-2003 Metrowerks Corporation.  All rights reserved.
 *
 * $Date: 2003/05/08 22:37:21 $
 * $Revision: 1.2 $
 */

/* $Id: _rt_fp_env_addr.c,v 1.2 2003/05/08 22:37:21 steves Exp $ */

#include <fenv.h>

_MSL_BEGIN_EXTERN_C

/* Provide a default place to store the currently installed exception handlers */

static fenv_t defaultCurrentFPEnvironment = { 0,
    (__ieee_handler_t)0, 
    (__ieee_handler_t)0, 
    (__ieee_handler_t)0, 
    (__ieee_handler_t)0, 
    (__ieee_handler_t)0
  };

fenv_t * __rt_fp_env_addr(void)
{
  return &defaultCurrentFPEnvironment;
}

_MSL_END_EXTERN_C
