6.    NET INCOME (LOSS) PER SHARE
The following table presents the calculation of basic and diluted net income (loss) per share:
 Year Ended October 31,
 202520242023
(in millions, except per-share amounts)
Net income from continuing operations, net of income taxes$869 $614 $1,057 
Net loss from discontinued operations, net of income taxes(19)— — 
Net income$850 $614 $1,057 
Basic weighted-average shares172174 178 
Potential common shares
Diluted weighted-average shares173 175 179 
Basic net income (loss) per share:
Net income per share from continuing operations$5.04 $3.53 $5.95 
Net loss per share from discontinued operations(0.11)— — 
Net income per share$4.93 $3.53 $5.95 
Diluted net income (loss) per share:
Net income per share from continuing operations$5.02 $3.51 $5.91 
Net loss per share from discontinued operations(0.11)— — 
Net income per share$4.91 $3.51 $5.91 
Potentially dilutive shares whose effect would have been antidilutive are excluded from the computation of diluted net income per share. The number of shares excluded was not material for 2025, 2024, and 2023.

Historical Timeline

Fiscal YearFiled
2025Dec 17, 2025Showing above
2024Dec 17, 2024
2023Dec 15, 2023
2022Dec 15, 2022
2021Dec 17, 2021
2020Dec 17, 2020

About Earnings Per Share Disclosures

The earnings per share disclosure breaks down the calculation from net income to both basic and diluted EPS, revealing the full impact of a company's capital structure on per-share economics. The reconciliation between basic and diluted share counts exposes how many stock options, RSUs, convertible securities, and warrants are potentially dilutive to existing shareholders.

Key signals: a widening gap between basic and diluted shares indicates growing dilution from equity compensation or convertible instruments. Anti-dilutive securities excluded from the diluted calculation deserve attention — they represent latent dilution that will materialize if the stock price rises. Watch for the effect of share buybacks on per-share metrics: EPS growth driven primarily by repurchases rather than income growth signals weakening fundamentals. Compare year-over-year changes in the diluted share count against equity compensation expense to assess whether management is effectively managing dilution.