XML 57 R42.htm IDEA: XBRL DOCUMENT v3.24.3
Financial Instruments - Additional Information (Detail) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Oct. 31, 2024
Oct. 31, 2023
Oct. 31, 2024
Oct. 31, 2023
Apr. 30, 2024
Financial Instrument [Line Items]          
Sale/maturities of available-for-sale marketable securities $ 9.9 $ 9.0 $ 16.8 $ 26.2  
Unrealized gains relates to equity securities     14.6 0.4  
Not Designated as Hedge Instrument | Foreign currency forward contracts          
Financial Instrument [Line Items]          
Foreign currency gains (losses) (0.2) $ (3.2) (0.3) $ (1.5)  
Not Designated as Hedge Instrument | Foreign currency forward contracts | Derivatives Purchased          
Financial Instrument [Line Items]          
Derivative notional amount 90.3   90.3   $ 82.9
Not Designated as Hedge Instrument | Foreign currency forward contracts | Derivatives Sold          
Financial Instrument [Line Items]          
Derivative notional amount $ 38.6   $ 38.6   $ 34.0
Minimum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     1 month    
Maximum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     24 months