XML 51 R36.htm IDEA: XBRL DOCUMENT v3.23.4
FAIR VALUE MEASUREMENTS - Additional Information (Detail) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Nov. 30, 2023
Nov. 30, 2022
May 31, 2023
Fair Value Disclosures [Abstract]          
Available-for-sale securities with maturity dates within one year from purchase date $ 1,316   $ 1,316    
Available-for-sale securities with maturity dates over one year and less than five years from purchase date 692   692    
Interest income related to cash and equivalents and short-term investments 92 $ 49 191 $ 114  
Fair value of long term debt $ 7,744   $ 7,744   $ 7,889