XML 49 R38.htm IDEA: XBRL DOCUMENT v3.22.4
STOCK-BASED COMPENSATION - Weighted Average Assumptions Used to Estimate Fair Values (Detail) - USD ($)
$ / shares in Units, $ in Millions
6 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Stock options    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Weighted average fair value per share of the options granted (in dollars per share) $ 31.31 $ 37.53
Dividend yield 0.90% 0.80%
Expected volatility 27.10% 24.90%
Weighted average expected life 5 years 9 months 18 days 5 years 9 months 18 days
Risk-free interest rate 3.30% 0.90%
Stock Incentive Plan | Stock options    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Unrecognized compensation costs from stock options $ 584  
Unrecognized compensation costs from stock options, net of estimated forfeitures, to be recognized as operating overhead expense over a weighted average period 2 years 8 months 12 days  
Class B Common Stock | Stock Incentive Plan    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Minimum term of market traded options for estimates of expected volatility 1 year