this repo has no description
1/*
2 * fdimf.c
3 * cLibm
4 *
5 * Created by Ian Ollmann on 6/13/07.
6 * Copyright 2007 Apple Inc. All rights reserved.
7 *
8 */
9
10#include <math.h>
11
12float fdimf( float x, float y )
13{
14 float result = 0.0f;
15
16 if( x != x || y != y )
17 return x + y;
18
19 if( x > y )
20 result = x - y;
21
22 return result;
23}