所有的浮點數值計算都遵循IEEE 754規範,用於表示溢出和出錯情況的三個特殊的浮點數值,±inf、NaN。 源碼註釋: If the argument is {@code 0x7ff0000000000000L}, the result is positive infinity.If the ar ...
相信接觸過spring做開發的小伙伴們一定使用過@ComponentScan註解 @ComponentScan("com.wangm.lifecycle") public class AppConfig { } @ComponentScan指定basePackage,將包下的類按照一定規則註冊成Be ...