In a perfect way with no mistakes or imperfections.
From Old Norse 'flaga' meaning 'slab of stone' or 'crack,' combined with '-less' (without) and '-ly' (in manner). The sense evolved from having no cracks or breaks to having no faults at all.
Try Another Word