adverb
Etymology: Middle English, from medd, madd, mad mad + -ly — more at mad
: in a mad manner: as
a. : in an insane manner
drew his sword and rushed madly on the justiciary — J.R.Green
b. : in a foolish or rash manner
the help of that single power he had madly rejected — T.B.Macaulay
c. : in a vigorous or energetic manner
worked madly throwing the boxes in at the door of the express car — Sherwood Anderson
d. : to an excessive or extreme degree
finds herself madly in love with a young American — B.R.Redman
boasts a pedigree that is almost madly aristocratic — Francis Steegmuller