* mingwex/math/llround.c: Correct function name and
change return value to long long.
This commit is contained in:
		
							parent
							
								
									c3e8272116
								
							
						
					
					
						commit
						a545b16de6
					
				| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
2003-01-11  Danny Smith  <dannysmith@users.sourceforge.net>
 | 
			
		||||
 | 
			
		||||
	* mingwex/math/llround.c: Correct function name and
 | 
			
		||||
	change return value to long long.
 | 
			
		||||
 | 
			
		||||
2003-01-07  Danny Smith  <dannysmith@users.sourceforge.net>
 | 
			
		||||
 | 
			
		||||
	* include/ctype.h (__isascii): Don't cast arg to unsigned.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,9 +1,9 @@
 | 
			
		|||
#include <fenv.h>
 | 
			
		||||
#include <math.h>
 | 
			
		||||
 | 
			
		||||
long
 | 
			
		||||
lround (double x) {
 | 
			
		||||
  long retval;
 | 
			
		||||
long long
 | 
			
		||||
llround (double x) {
 | 
			
		||||
  long long retval;
 | 
			
		||||
  unsigned short saved_cw, _cw;
 | 
			
		||||
  __asm__ (
 | 
			
		||||
	"fnstcw %0;" : "=m" (saved_cw)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue