In millions, except per share items | Dec-31-22 | Dec-31-21 | Dec-31-20 | Dec-31-19 | Dec-31-18 | Dec-31-17 | Dec-31-16 | Dec-31-15 |
| 10-K | 10-K | 10-K | 10-K | 10-K | 10-K | 10-K | 10-K |
Cash flows from operating activities: | | | | | | | | |
Net income (loss) | 655.0 | 256.7 | -193.4 | 221.2 | 262.9 | 111.5 | -10.9 | |
Adjustments to reconcile net income (loss) to net cash from operating activities: | | | | | | | | |
Provision for (benefit from) deferred income taxes | -49.7 | | 142.5 | -41.6 | -72.5 | | | |
Depletion | 121.1 | 103.0 | 100.5 | 78.2 | 58.8 | 40.5 | 29.8 | 35.4 |
(Gain) loss on derivative instruments, net | 18.1 | 69.4 | 63.6 | | | | | |
Net cash receipts (payments) on derivatives | -31.3 | -92.6 | -37.0 | | | | | |
Other | 5.1 | 4.7 | 3.6 | 2.8 | 3.5 | | | |
Changes in operating assets and liabilities: | | | | | | | | |
Royalty income receivable | -13.1 | -36.4 | 25.9 | -19.3 | -13.1 | -15.7 | -4.1 | -1.1 |
Royalty income receivable—related party | -4.1 | -0.1 | 8.6 | -7.1 | 1.7 | -1.7 | | |
Accounts payable and accrued liabilities | 0.2 | 2.7 | 5.0 | | 2.5 | 1.3 | 1.9 | -2.0 |
Accounts payable—related party | 0.3 | | -0.2 | | | | 0.0 | 0.0 |
Other | -1.8 | -0.3 | -0.3 | 7.3 | 0.1 | | | |
Net cash provided by (used in) operating activities | 699.8 | 307.1 | 196.6 | 236.7 | 244.5 | 139.2 | | |
|
Cash flows from investing activities: | | | | | | | | |
Acquisitions of oil and natural gas interests | -62.9 | -281.2 | -65.7 | -530.6 | -610.1 | | | |
Other | -1.2 | | 10.8 | | | | | |
Net cash provided by (used in) investing activities | 47.6 | -281.2 | -16.3 | -530.6 | -614.3 | -344.1 | | |
|
Cash flows from financing activities: | | | | | | | | |
Proceeds from borrowings under credit facility | 272.0 | 330.0 | 104.0 | 590.5 | 691.5 | 278.5 | 164.0 | 34.5 |
Repayment on credit facility | -424.0 | -110.0 | -116.5 | -905.0 | -374.0 | -305.5 | -78.0 | |
Repayment of senior notes | -49.0 | | -19.7 | | | | | |
Repurchased units as part of unit buyback | -150.6 | -46.0 | -24.0 | | | | | |
Distributions to public | -182.8 | -75.9 | -45.7 | -107.1 | -98.3 | | | |
Distributions to Diamondback | -234.1 | -100.7 | -62.3 | -133.2 | -155.1 | -130.9 | -64.8 | -68.6 |
Other | -0.1 | -3.0 | -0.6 | -0.4 | -0.6 | | | |
Net cash provided by (used in) financing activities | -768.6 | -5.6 | -164.8 | 274.8 | 368.2 | 219.8 | | |
Net increase (decrease) in cash and cash equivalents | -21.3 | 20.3 | 15.5 | -19.1 | | | | |