FLAC is lossless compression and much lighter on the CPU than the algorithms used for decompressing lossy compressed audio. There's not so much fancy maths involved.