fix: M_DMAXEXP was wrong
This commit is contained in:
		
							parent
							
								
									e967e920be
								
							
						
					
					
						commit
						eb6c2af313
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -67,7 +67,7 @@ extern double sinh(), tanh(), cosh(); | |||
| #define M_MIN_D		 5.562684646268003458e-309 | ||||
| #define M_DEXPLEN	 11 | ||||
| #endif | ||||
| #define M_DMAXEXP	 (1 << (M_DEXPLEN - 1) - 1) | ||||
| #define M_DMAXEXP	 ((1 << (M_DEXPLEN - 1)) - 1) | ||||
| #define M_DMINEXP	 (-M_DMAXEXP) | ||||
| #define M_LN_MAX_D	 (M_LN2 * M_DMAXEXP) | ||||
| #define M_LN_MIN_D	 (M_LN2 * (M_DMINEXP - 1)) | ||||
|  |  | |||
|  | @ -29,12 +29,12 @@ | |||
| #ifndef FILE | ||||
| 
 | ||||
| extern struct _io_buf { | ||||
|     int     _fd; | ||||
|     int     _count; | ||||
|     int     _flags; | ||||
|     unsigned char   *_buf; | ||||
|     unsigned char   *_ptr; | ||||
|     int	    _bufsiz; | ||||
|     int     _fd; | ||||
| }  *_io_table[_NFILES], _stdin, _stdout, _stderr; | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue