XML 50 R37.htm IDEA: XBRL DOCUMENT
v3.21.2

Summary of Significant Accounting Policies - Additional Information (Details) | 6 Months Ended
--- | ---
Jul. 04, 2021
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