XML 79 R56.htm IDEA: XBRL DOCUMENT v3.23.2
Income Taxes - Reconciliation of Changes in Gross Balance of Unrecognized Tax Benefits (Detail) - USD ($)
$ in Millions
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Unrecognized tax benefits, beginning of the period $ 848 $ 896 $ 771
Gross increases related to prior period tax positions 95 71 77
Gross decreases related to prior period tax positions (17) (145) (22)
Gross increases related to current period tax positions 50 62 59
Settlements (18) (17) (5)
Lapse of statute of limitations (7) (10) (6)
Decrease due to currency translation (15) (9)  
Increase due to currency translation     22
UNRECOGNIZED TAX BENEFITS, END OF THE PERIOD $ 936 $ 848 $ 896