It turns out that if to recognise and accept that you are anxious about maths, you can deal with the problem and go on to excel in the subject.
Here is one paper which discusses the issue and here‘s a later one.
SQA – NQ – Past Papers and Marking Instructions. It’s worth taking a particular look at the rules which examiners have to follow.