Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fucom.c « math « mingwex « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 80c937262d5eda3a555b867a35d2137c3691a453 (plain)
1
2
3
4
5
6
7
8
9
10
11
int 
__fp_unordered_compare (long double x,  long double y){
  unsigned short retval;
  __asm__ (
	"fucom %%st(1);"
	"fnstsw;"
	: "=a" (retval)
	: "t" (x), "u" (y)
	);
  return retval;
}