XML 50 R39.htm IDEA: XBRL DOCUMENT v3.23.4
Earnings Per Share - Narrative (Details) - USD ($)
shares in Millions
3 Months Ended 6 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Nov. 30, 2023
Nov. 30, 2022
Jul. 26, 2022
Jul. 27, 2021
Earnings Per Share [Abstract]            
Options granted and excluded from the computation of diluted earnings per share (in shares) 0.5 1.1 0.3 0.9    
July 27, 2021 Plan            
Equity, Class of Treasury Stock [Line Items]            
Share buyback program, authorized amount           $ 1,500,000,000
July 26, 2022 Plan            
Equity, Class of Treasury Stock [Line Items]            
Share buyback program, authorized amount         $ 1,000,000,000