A bar magnet of length L and magnetic moment M is bent into the form of a semicircle. Now, its magnetic moment will be -