Financial Instruments - Contractual Maturities of Investments in Available-for-Sale Debt Securities (Details) $ in Millions |
Jul. 31, 2018
USD ($)
|
|---|---|
| Amortized Cost | |
| Due in more than five years | $ 143 |
| Fair Value | |
| Due in more than five years | $ 162 |