The Phalanges of the Foot  The phalanx ends in a crescent-shaped rough cap of bone epiphysis — the apical tuft (or ungual tuberosity/process) which covers a larger portion of the phalanx on the volar side than on the dorsal side. Two lateral ungual spines project proximally from the apical tuft. Near the base of the shaft are two lateral tubercles. Between these a V-shaped ridge extending proximally serves for the insertion of the flexor pollicis longus. Another ridge at the base serves for the insertion of the extensor aponeurosis. The flexor insertion is sided by two fossae — the ungual fossa distally and the proximopalmar fossa proximally. Development
The number of phalanges in animals is often expressed as a "phalangeal formula" that indicates the numbers of phalanges in digits, beginning from the innermost medial or proximal. For example, humans have a 2-3-3-3-3 formula for the hand, meaning that the thumb has two phalanges, whilst the other fingers each have three. In the distal phalanges of the hand the centres for the bodies appear at the distal extremities of the phalanges, instead of at the middle of the bodies, as in the other phalanges. Moreover, of all the bones of the hand, the distal phalanges are the first to ossify.: 6b. 3. The Phalanges of the Hand

Function
The distal phalanges of ungulates carry and shape nails and claws and these in primates are referred to as the ungual phalanges.
Hyperphalangy is an increase in the number of phalanges beyond the plesiomorphic mammal condition of three phalanges-per-digit. Hyperphalangy was present among extinct marine reptiles -- ichthyosaurs, plesiosaurs, and mosasaurs -- but not other marine mammals, leaving whales as the only marine mammals to develop this characteristic. The evolutionary process continued over time, and a very derived form of hyperphalangy, with six or more phalanges per digit, evolved convergently in rorqual whales and oceanic dolphins, and was likely associated with another wave of signaling within the interdigital tissues. Other mammals
In ungulates (hoofed mammals) the forelimb is optimized for speed and endurance by a combination of length of stride and rapid step; the proximal forelimb segments are short with large muscles, while the distal segments are elongated with less musculature. In two of the major groups of ungulates, odd-toed and even-toed ungulates, what remain of the "hands" — the metacarpal and phalangeal bones — are elongated to the extent that they serve little use beyond locomotion. The giraffe, the largest even-toed ungulate, has large terminal phalanges and fused metacarpal bones able to absorb the stress from running.The sloth spends its life hanging upside-down from branches, and has highly specialized third and fourth digits for the purpose. They have short and squat proximal phalanges with much longer terminal phalanges. They have vestigial second and fifth metacarpals, and their palm extends to the distal interphalangeal joints.