Is defualt keyword is supportes in constraint?

In reply to jagan413:

Hi jagan I did not know whether it is possible or not but the following code is working well,there are no errors.

class rand_real_freq;
rand real a;
constraint c1 {soft a == 0.4441;}
endclass

program p;
rand_real_freq rr;
initial begin
rr=new();
repeat (10) begin
assert(rr.randomize() with { a inside {[0:0.100]};});
$display(“a=%0f \n”,rr.a);
end
end
endprogram

Non-integer datatypes are allowing in this case.
Please corrcet me if i am wrong.