In EM, fef splits a float into exponent and fraction. The old C code, given an infinite float, got stuck in an infinite loop. The new assembly code doesn't loop; it extracts the IEEE exponent.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			168 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			168 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| for _, plat in ipairs(vars.plats) do
 | |
| 	acklibrary {
 | |
| 		name = "lib_"..plat,
 | |
| 		srcs = {
 | |
| 			"./*.s",
 | |
| 		},
 | |
| 		vars = { plat = plat },
 | |
| 		deps = {
 | |
| 			"h+emheaders"
 | |
| 		}
 | |
| 	}
 | |
| end
 | |
| 
 |