QName qname = new QName(publicNamespace(), name);
ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
statics._doubleType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_double);
statics._doubleType.baseclass = objectType(); // since this is not in older Global.abc
statics._doubleType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._doubleType);
statics.builtins.put(name, statics._doubleType);
}
return statics._doubleType;
}