/* sin64.c
 *
 * COPYRIGHT (c) 1996 AT&T Research.
 */

#include <math.h>
#include "ml-base.h"
#include "ml-values.h"
#include "ml-objects.h"
#include "cfun-proto-list.h"

/* _ml_Math_sin64:
 */
ml_val_t _ml_Math_sin64 (ml_state_t *msp, ml_val_t arg)
{
    double		d = *(PTR_MLtoC(double, arg));
    ml_val_t		res;

    REAL64_ALLOC(msp, res, sin(d));

    return res;

} /* end of _ml_Math_sin64 */


syntax highlighted by Code2HTML, v. 0.9.1