Skip to main content

new_real

Function new_real 

Source
pub fn new_real(real: F) -> K
Expand description

Constructor of q real object. Relabeling of ke.

ยงExample

use kdbplus::api::*;

#[no_mangle]
pub extern "C" fn create_real(_: K) -> K{
  new_real(0.00324)
}
q)reality: `libapi_examples 2: (`create_real; 1);
q)reality[]
0.00324e