XML 51 R39.htm IDEA: XBRL DOCUMENT
v3.26.1

Summary of Significant Accounting Policies - Additional Information (Details) | 3 Months Ended
--- | ---
Apr. 05, 2026
Accounting Policies [Abstract] |
Length of fiscal quarters, weeks | 91 days

X
- Definition Length of fiscal quarters, weeks + References No definition available. + Details
Name: | gd_LengthOfFiscalQuartersWeeks
Namespace Prefix: | gd_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration