Created
March 15, 2016 12:52
-
-
Save tcatm/54c167f16703b5b38aff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "float.h" | |
float fmul(float a, float b) { | |
return a * b; | |
} | |
float fdiv(float a, float b) { | |
return a / b; | |
} | |
float fadd(float a, float b) { | |
return a + b; | |
} | |
float fsub(float a, float b) { | |
return a - b; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
float fmul(float a, float b); | |
float fdiv(float a, float b); | |
float fadd(float a, float b); | |
float fsub(float a, float b); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
... | |
#include "float.h" | |
... | |
foo = fmul(5, 2); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment