XML 30 R15.htm IDEA: XBRL DOCUMENT v3.25.3
NET INCOME PER SHARE
12 Months Ended
Oct. 31, 2025
Earnings Per Share [Abstract]  
NET INCOME PER SHARE
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.