Back
Asciify Logo
Asciify
fh

Latin Small Letter G

Sitting just past the six hexadecimal letter-digits (a–f), lowercase 'g' at ASCII code point 103 (0x67) is where Latin letters stop pulling double duty as numeric symbols and function purely as alphabetic characters. It is the seventh letter of the Latin alphabet, a consonant that alternates between a hard /ɡ/ (go, game) and soft /dʒ/ (gem, ginger) in English, and accounts for roughly 2.0 % of characters in typical corpora. Its code point sits 32 above uppercase 'G' at 71 (0x47), maintaining the single-bit case offset (bit 5) shared by all ASCII A–Z / a–z pairs.

Latin Letter

Technical Details

Code Example

</>
// Gravity constant
const double g = 9.80665; // m/s²
double fall_time = 2.0;
double distance = 0.5 * g * fall_time * fall_time; // 19.61m

Common Usage

  • Regex and substitution flag: In JavaScript, Perl, and several other regex flavors, appending the 'g' flag enables global matching — returning all occurrences rather than stopping after the first. The same mnemonic carries into sed's substitution command (s///g), where 'g' replaces all matches on a line rather than just the initial one.

  • Format specifier: In C-family printf-style formatting, %g selects the shorter of %e (scientific) or %f (fixed-point) representation for a floating-point value, automatically trimming trailing zeros — a convenient default for human-readable numeric output.

  • Typographic distinction: Lowercase 'g' is one of the few Latin letters with two widely recognized glyph forms — double-story (with a closed lower loop, common in serif and many sans-serif typefaces) and single-story (an open-tailed form frequent in handwriting and certain sans-serif designs). This distinction is a staple topic in typography education.

  • Diacritical variants: ğ (breve) is a distinct letter in Turkish, ġ (dot above) serves the same role in Maltese, and ģ (cedilla) appears in Latvian — each representing sounds that differ significantly from the base 'g', functioning as full letters in their respective alphabets rather than simple accented variants.

  • Regex and substitution flag: In JavaScript, Perl, and several other regex flavors, appending the 'g' flag enables global matching — returning all occurrences rather than stopping after the first. The same mnemonic carries into sed's substitution command (s///g), where 'g' replaces all matches on a line rather than just the initial one.

  • Format specifier: In C-family printf-style formatting, %g selects the shorter of %e (scientific) or %f (fixed-point) representation for a floating-point value, automatically trimming trailing zeros — a convenient default for human-readable numeric output.

  • Typographic distinction: Lowercase 'g' is one of the few Latin letters with two widely recognized glyph forms — double-story (with a closed lower loop, common in serif and many sans-serif typefaces) and single-story (an open-tailed form frequent in handwriting and certain sans-serif designs). This distinction is a staple topic in typography education.

  • Diacritical variants: ğ (breve) is a distinct letter in Turkish, ġ (dot above) serves the same role in Maltese, and ģ (cedilla) appears in Latvian — each representing sounds that differ significantly from the base 'g', functioning as full letters in their respective alphabets rather than simple accented variants.

@workani&@alexluthor
Privacy & legal

Privacy

No accounts, no ads, no tracking cookies, and no cross-site tracking. The only analytics we keep are faceless — anonymous, aggregated counts of pages and searches, never tied to you. We store no IP addresses, set no tracking cookies, and build no profiles. Cloudflare hosts the site and handles requests for delivery and security.

Full privacy policy·Extension privacy·legal@asciify.dev

Attributions & licenses

Twemoji
© Twitter, Inc and other contributors · CC-BY 4.0
Noto Color Emoji
© Google · Apache 2.0
Fluent UI Emoji
© Microsoft · MIT
OpenMoji
© HfG Schwäbisch Gmünd · CC-BY-SA 4.0
Toss Face
© Viva Republica (Toss) · SIL OFL 1.1
JoyPixels
© JoyPixels Inc. · Free Limited Use License
SerenityOS Emoji
© The SerenityOS Developers · BSD-2-Clause
EmojiTwo
© EmojiTwo contributors · CC-BY 4.0
Apple Color Emoji
© Apple, Inc.
Facebook Emoji
© Meta Platforms, Inc.

Apple and Facebook emoji styles are proprietary and shown here solely for reference and comparison — a common-sense application of nominative-use / fair-use principles. asciify is not affiliated with, endorsed by, or sponsored by Apple, Inc., Meta Platforms, Inc., or any other rights holder listed above. If a rights holder requests removal of their emoji style from this site, it will be removed.

All other vendor emoji are reproduced for reference and comparison under their respective open licenses listed above.

Character names and code points from the Unicode® Standard. Unicode® and the Unicode Logo are registered trademarks of Unicode, Inc.

Privacy
© asciify.dev 2025-2026