1*ccf8180eSRafael Vanoni /* 2*ccf8180eSRafael Vanoni * CDDL HEADER START 3*ccf8180eSRafael Vanoni * 4*ccf8180eSRafael Vanoni * The contents of this file are subject to the terms of the 5*ccf8180eSRafael Vanoni * Common Development and Distribution License (the "License"). 6*ccf8180eSRafael Vanoni * You may not use this file except in compliance with the License. 7*ccf8180eSRafael Vanoni * 8*ccf8180eSRafael Vanoni * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*ccf8180eSRafael Vanoni * or http://www.opensolaris.org/os/licensing. 10*ccf8180eSRafael Vanoni * See the License for the specific language governing permissions 11*ccf8180eSRafael Vanoni * and limitations under the License. 12*ccf8180eSRafael Vanoni * 13*ccf8180eSRafael Vanoni * When distributing Covered Code, include this CDDL HEADER in each 14*ccf8180eSRafael Vanoni * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*ccf8180eSRafael Vanoni * If applicable, add the following below this CDDL HEADER, with the 16*ccf8180eSRafael Vanoni * fields enclosed by brackets "[]" replaced with your own identifying 17*ccf8180eSRafael Vanoni * information: Portions Copyright [yyyy] [name of copyright owner] 18*ccf8180eSRafael Vanoni * 19*ccf8180eSRafael Vanoni * CDDL HEADER END 20*ccf8180eSRafael Vanoni */ 21*ccf8180eSRafael Vanoni 22*ccf8180eSRafael Vanoni /* 23*ccf8180eSRafael Vanoni * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24*ccf8180eSRafael Vanoni * Use is subject to license terms. 25*ccf8180eSRafael Vanoni */ 26*ccf8180eSRafael Vanoni 27*ccf8180eSRafael Vanoni /* 28*ccf8180eSRafael Vanoni * ASSERTION: 29*ccf8180eSRafael Vanoni * stddev() should not have more than one argument 30*ccf8180eSRafael Vanoni * 31*ccf8180eSRafael Vanoni * SECTION: Aggregations/Aggregations 32*ccf8180eSRafael Vanoni * 33*ccf8180eSRafael Vanoni */ 34*ccf8180eSRafael Vanoni 35*ccf8180eSRafael Vanoni #pragma D option quiet 36*ccf8180eSRafael Vanoni 37*ccf8180eSRafael Vanoni BEGIN 38*ccf8180eSRafael Vanoni { 39*ccf8180eSRafael Vanoni @a[1] = stddev(1, 2); 40*ccf8180eSRafael Vanoni } 41*ccf8180eSRafael Vanoni 42