/*
 * PCN System
 * Author:      Steve Tuecke
 *              Argonne National Laboratory
 *
 * Please see the DISCLAIMER file in the top level directory of the
 * distribution regarding the provisions under which this software
 * is distributed.
 *
 * sys_icast.c
 *
 * Foreign procedures used by sys.pcn
 */

#include "sys_internal.h"

/*
 * Cast from double to integer
 */
void _p_sys_integer_cast(From, To)
double_t *From;
int_t *To;
{
    *To = (int_t) (*From);
}
