v3.5.0.2
INTANGIBLE ASSETS (Details) - USD ($)
$ in Millions
3 Months Ended
Aug. 31, 2016
Aug. 31, 2015
May 31, 2016
Acquired Finite-Lived Intangible Assets [Line Items]      
Intangible Assets, Gross $ 12,025   $ 11,566
Additions 459    
Accumulated Amortization (6,934)   (6,623)
Expense (311) $ (452)  
Total intangible assets, net $ 5,091   4,943
Intangible assets subject to amortization [Member]      
Acquired Finite-Lived Intangible Assets [Line Items]      
Weighted Average Useful Life (in years) [1] 7 years    
Intangible assets subject to amortization [Member] | Developed technology [Member]      
Acquired Finite-Lived Intangible Assets [Line Items]      
Intangible Assets, Gross $ 3,838   3,661
Additions 177    
Accumulated Amortization (2,012)   (1,876)
Expense (136)    
Intangible assets subject to amortization $ 1,826   1,785
Weighted Average Useful Life (in years) [1] 5 years    
Intangible assets subject to amortization [Member] | Software support agreements and related relationships [Member]      
Acquired Finite-Lived Intangible Assets [Line Items]      
Intangible Assets, Gross $ 2,419   2,419
Additions 0    
Accumulated Amortization (1,319)   (1,287)
Expense (32)    
Intangible assets subject to amortization 1,100   1,132
Intangible assets subject to amortization [Member] | SaaS, PaaS and IaaS agreements and related relationships [Member]      
Acquired Finite-Lived Intangible Assets [Line Items]      
Intangible Assets, Gross 2,299   2,034
Additions 265    
Accumulated Amortization (767)   (704)
Expense (63)    
Intangible assets subject to amortization $ 1,532   1,330
Weighted Average Useful Life (in years) [1] 8 years    
Intangible assets subject to amortization [Member] | Customer relationships and contract backlog [Member]      
Acquired Finite-Lived Intangible Assets [Line Items]      
Intangible Assets, Gross $ 1,399   1,399
Additions 0    
Accumulated Amortization (1,148)   (1,121)
Expense (27)    
Intangible assets subject to amortization 251   278
Intangible assets subject to amortization [Member] | Hardware support agreements and related relationships [Member]      
Acquired Finite-Lived Intangible Assets [Line Items]      
Intangible Assets, Gross 1,010   1,010
Additions 0    
Accumulated Amortization (823)   (797)
Expense (26)    
Intangible assets subject to amortization 187   213
Intangible assets subject to amortization [Member] | Trademarks and other [Member]      
Acquired Finite-Lived Intangible Assets [Line Items]      
Intangible Assets, Gross 1,060   1,043
Additions 17    
Accumulated Amortization (865)   (838)
Expense (27)    
Intangible assets subject to amortization $ 195   $ 205
Weighted Average Useful Life (in years) [1] 5 years    
[1] Represents weighted-average useful lives of intangible assets acquired during fiscal 2017