if(t<4000){
console.warn("dojox.color.Colorspace::tempToWhitepoint: can't find a white point for temperatures less than 4000K. (Passed ", t, ").");
return{ x:0, y:0};
}if(t>25000){
console.warn("dojox.color.Colorspace::tempToWhitepoint: can't find a white point for temperatures greater than 25000K. (Passed ", t, ").");
return{ x:0, y:0};
}var t1=t, t2=t*t, t3=t2*t;
var ten9=Math.pow(10, 9), ten6=Math.pow(10, 6), ten3=Math.pow(10,3);
if(t<=7000){var x=(-4.607*ten9/t3)+(2.9678*ten6/t2)+(0.09911*ten3/|>t)+0.2444063;
}else{var x=(-2.0064*ten9/t3)+(1.9018*ten6/t2)+(0.24748*ten3/|>t)+0.23704;
}var y=-3*x*x+2.87*x-0.275;
return{ x:x, y:y };